#0F2F5C#0F2F5C
#0F2F5C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.089 H 257.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2F5C |
|---|---|
| RGB | rgb(15, 47, 92) |
| HSL | hsl(215, 72%, 21%) |
| HSV | hsv(215, 84%, 36%) |
| CMYK | cmyk(83.7%, 48.9%, 0%, 63.9%) |
| CIE-LAB | lab(19.67, 6.78, -30.27) |
| CIE-LCH | lch(19.67, 31.02, 282.62°) |
| OKLab | oklab(30.95% -0.0189 -0.0868) |
| OKLCH | oklch(30.95% 0.089 257.7) |
| XYZ | xyz(3.1446, 2.9069, 10.5185) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.09
Marine Blue
#01386A
ΔE00 3.89
Navy Blue
#1B2A4A
ΔE00 4.37
Darkish Blue
#014182
ΔE00 7.29
Twilight Blue
#0A437A
ΔE00 7.35
Prussian Blue
#004577
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2F5C #5C3C0F
analogous
#0F555C #0F2F5C #150F5C
triadic
#0F2F5C #5C0F2F #2F5C0F
tetradic
#0F2F5C #5C0F55 #5C3C0F #0F5C15
square
#0F2F5C #5C0F55 #5C3C0F #0F5C15
split-complementary
#0F2F5C #5C150F #555C0F
monochromatic
#040D1A #061427 #0F2F5C #184A91 #2065C5
Accessibility & contrast
On white
13.28
#0F2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#0F2F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2F5C
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2F5C | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17335E
Deuteranopia (green-blind)
#062C5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #0f2f5c; /* rgb */ color: rgb(15, 47, 92); /* oklch */ color: oklch(30.9% 0.089 257.7);
Tailwind
colors: {
custom: {
50: '#5b678a',
500: '#0f2f5c',
950: '#000000',
},
}SCSS
$custom: #0f2f5c; $custom-light: #5b678a; $custom-dark: #000000;
JSON
{
"hex": "#0f2f5c",
"rgb": {
"r": 15,
"g": 47,
"b": 92
},
"hsl": {
"h": 215.065,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.30946,
"c": 0.08887,
"h": 257.7
},
"luminance": 0.02907
}Semantic roles & 50–950 ramp
primary
#0F2F5C
secondary
#956C31
accent
#A339EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D