#0F418E#0F418E
#0F418E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.138 H 259.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #0F418E |
|---|---|
| RGB | rgb(15, 65, 142) |
| HSL | hsl(216, 81%, 31%) |
| HSV | hsv(216, 89%, 56%) |
| CMYK | cmyk(89.4%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(28.99, 15.34, -47.06) |
| CIE-LCH | lch(28.99, 49.49, 288.05°) |
| OKLab | oklab(39.29% -0.025 -0.1358) |
| OKLCH | oklch(39.29% 0.138 259.6) |
| XYZ | xyz(6.9680, 5.8343, 26.3448) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.24
Darkish Blue
#014182
ΔE00 2.38
Twilight Blue
#0A437A
ΔE00 3.61
Cobalt
#0047AB
ΔE00 4.06
Prussian Blue
#004577
ΔE00 5.01
Marine Blue
#01386A
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F418E #8E5C0F
analogous
#0F808E #0F418E #1C0F8E
triadic
#0F418E #8E0F41 #418E0F
tetradic
#0F418E #8E0F80 #8E5C0F #0F8E1C
square
#0F418E #8E0F80 #8E5C0F #0F8E1C
split-complementary
#0F418E #8E1C0F #808E0F
monochromatic
#030E1F #092857 #0F418E #155AC5 #2E78E9
Accessibility & contrast
On white
9.69
#0F418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#0F418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F418E
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F418E | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0f418e; /* rgb */ color: rgb(15, 65, 142); /* oklch */ color: oklch(39.3% 0.138 259.6);
Tailwind
colors: {
custom: {
50: '#6874b0',
500: '#0f418e',
950: '#000000',
},
}SCSS
$custom: #0f418e; $custom-light: #6874b0; $custom-dark: #000000;
JSON
{
"hex": "#0f418e",
"rgb": {
"r": 15,
"g": 65,
"b": 142
},
"hsl": {
"h": 216.378,
"s": 80.892,
"l": 30.784
},
"oklch": {
"l": 0.3929,
"c": 0.1381,
"h": 259.6
},
"luminance": 0.05835
}Semantic roles & 50–950 ramp
primary
#0F418E
secondary
#C38B36
accent
#A931F7
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F