Skip to content
Kolorvia
#0f0c5b

Color #0f0c5b

A vivid, highly saturated dark blue.

Conversions

HEX
#0f0c5b
RGB
rgb(15, 12, 91)
HSL
hsl(242.3, 76.7%, 20.2%)
HSV / HSB
hsv(242.3, 86.8%, 35.7%)
CMYK
cmyk(83.5%, 86.8%, 0%, 64.3%)
LAB
lab(9.95, 30.99, -45.48)
LCH
lch(9.95, 55.03, 304.27)
OKLCH
oklch(23.7%, 0.1317, 271.74)
HWB
hwb(242.3, 4.7%, 64.3%)

Harmony colors

Complementary

#585b0c

Analogous

#0c305b
#0f0c5b
#370c5b

Triadic

#0f0c5b
#5b0f0c
#0c5b0f

Split-complementary

#0f0c5b
#5b370c
#305b0c

Tetradic

#0f0c5b
#5b0c58
#585b0c
#0c5b0f

Square

#0f0c5b
#5b0c30
#585b0c
#0c5b37

Shades

Color #0f0c5b mixed toward black.

#0d0a4c
#0a083d
#08062e
#05041e
#03020f

Tints

Color #0f0c5b mixed toward white.

#191497
#231cd3
#514be7
#8b87ef
#c5c3f7

Tones

Color #0f0c5b mixed toward gray.

#151354
#1b194e
#212047
#272641
#2d2d3a

Accessibility

Aa White text on this color
17.16:1
Aa Black text on this color
1.22:1

White text reads better on this background (17.16:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#0e0e50 · ΔE 2.3

Deuteranopia

#0e0e4d · ΔE 3

Tritanopia

#0f4643 · ΔE 31.3

Achromatopsia

#1b1b1b · ΔE 24.9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #0f0c5b;
Tailwind (arbitrary value)
bg-[#0f0c5b]

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#0f0c5b (#0f0c5b) is rgb(15, 12, 91) in RGB.

No, #0f0c5b is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #0f0c5b, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.