#0F2F5A#0F2F5A
#0F2F5A is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.086 H 257.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #0F2F5A |
|---|---|
| RGB | rgb(15, 47, 90) |
| HSL | hsl(214, 71%, 21%) |
| HSV | hsv(214, 83%, 35%) |
| CMYK | cmyk(83.3%, 47.8%, 0%, 64.7%) |
| CIE-LAB | lab(19.53, 5.90, -29.18) |
| CIE-LCH | lch(19.53, 29.77, 281.44°) |
| OKLab | oklab(30.79% -0.0193 -0.0836) |
| OKLCH | oklch(30.79% 0.086 257) |
| XYZ | xyz(3.0583, 2.8724, 10.0641) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 1.34
Marine Blue
#01386A
ΔE00 3.91
Navy Blue
#1B2A4A
ΔE00 4.16
Twilight Blue
#0A437A
ΔE00 7.40
Darkish Blue
#014182
ΔE00 7.41
Prussian Blue
#004577
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F2F5A #5A3A0F
analogous
#0F545A #0F2F5A #140F5A
triadic
#0F2F5A #5A0F2F #2F5A0F
tetradic
#0F2F5A #5A0F54 #5A3A0F #0F5A14
square
#0F2F5A #5A0F54 #5A3A0F #0F5A14
split-complementary
#0F2F5A #5A140F #545A0F
monochromatic
#040E1A #061426 #0F2F5A #184A8E #2066C3
Accessibility & contrast
On white
13.34
#0F2F5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#0F2F5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F2F5A
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F2F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F2F5A | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19335C
Deuteranopia (green-blind)
#0A2C59
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #0f2f5a; /* rgb */ color: rgb(15, 47, 90); /* oklch */ color: oklch(30.8% 0.086 257.0);
Tailwind
colors: {
custom: {
50: '#5a6789',
500: '#0f2f5a',
950: '#000000',
},
}SCSS
$custom: #0f2f5a; $custom-light: #5a6789; $custom-dark: #000000;
JSON
{
"hex": "#0f2f5a",
"rgb": {
"r": 15,
"g": 47,
"b": 90
},
"hsl": {
"h": 214.4,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.30791,
"c": 0.08583,
"h": 257
},
"luminance": 0.02873
}Semantic roles & 50–950 ramp
primary
#0F2F5A
secondary
#946A31
accent
#A13AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C