#0F2F5E#0F2F5E
#0F2F5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.092 H 258.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2F5E |
|---|---|
| RGB | rgb(15, 47, 94) |
| HSL | hsl(216, 72%, 21%) |
| HSV | hsv(216, 84%, 37%) |
| CMYK | cmyk(84%, 50%, 0%, 63.1%) |
| CIE-LAB | lab(19.81, 7.65, -31.36) |
| CIE-LCH | lch(19.81, 32.28, 283.70°) |
| OKLab | oklab(31.1% -0.0185 -0.09) |
| OKLCH | oklch(31.1% 0.092 258.4) |
| XYZ | xyz(3.2332, 2.9424, 10.9850) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 0.95
Marine Blue
#01386A
ΔE00 3.90
Navy Blue
#1B2A4A
ΔE00 4.61
Darkish Blue
#014182
ΔE00 7.18
Twilight Blue
#0A437A
ΔE00 7.31
Prussian Blue
#004577
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2F5E #5E3E0F
analogous
#0F575E #0F2F5E #170F5E
triadic
#0F2F5E #5E0F2F #2F5E0F
tetradic
#0F2F5E #5E0F57 #5E3E0F #0F5E17
square
#0F2F5E #5E0F57 #5E3E0F #0F5E17
split-complementary
#0F2F5E #5E170F #575E0F
monochromatic
#040D1A #071529 #0F2F5E #174993 #2064C8
Accessibility & contrast
On white
13.22
#0F2F5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#0F2F5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2F5E
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2F5E | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#022D5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #0f2f5e; /* rgb */ color: rgb(15, 47, 94); /* oklch */ color: oklch(31.1% 0.092 258.4);
Tailwind
colors: {
custom: {
50: '#5c678c',
500: '#0f2f5e',
950: '#000000',
},
}SCSS
$custom: #0f2f5e; $custom-light: #5c678c; $custom-dark: #000000;
JSON
{
"hex": "#0f2f5e",
"rgb": {
"r": 15,
"g": 47,
"b": 94
},
"hsl": {
"h": 215.696,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.31104,
"c": 0.09192,
"h": 258.4
},
"luminance": 0.02943
}Semantic roles & 50–950 ramp
primary
#0F2F5E
secondary
#976E31
accent
#A539EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D