#0F315A#0F315A
#0F315A is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.3% C 0.083 H 255.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #0F315A |
|---|---|
| RGB | rgb(15, 49, 90) |
| HSL | hsl(213, 71%, 21%) |
| HSV | hsv(213, 83%, 35%) |
| CMYK | cmyk(83.3%, 45.6%, 0%, 64.7%) |
| CIE-LAB | lab(20.19, 4.46, -28.12) |
| CIE-LCH | lch(20.19, 28.47, 279.01°) |
| OKLab | oklab(31.3% -0.0213 -0.0805) |
| OKLCH | oklch(31.3% 0.083 255.2) |
| XYZ | xyz(3.1401, 3.0360, 10.0914) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 1.77
Marine Blue
#01386A
ΔE00 3.27
Navy Blue
#1B2A4A
ΔE00 4.55
Twilight Blue
#0A437A
ΔE00 6.75
Darkish Blue
#014182
ΔE00 6.88
Prussian Blue
#004577
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F315A #5A380F
analogous
#0F565A #0F315A #120F5A
triadic
#0F315A #5A0F31 #315A0F
tetradic
#0F315A #5A0F56 #5A380F #0F5A12
square
#0F315A #5A0F56 #5A380F #0F5A12
split-complementary
#0F315A #5A120F #565A0F
monochromatic
#040E1A #061426 #0F315A #184E8E #206AC3
Accessibility & contrast
On white
13.07
#0F315A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#0F315A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F315A
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F315A | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D345C
Deuteranopia (green-blind)
#0F2E59
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #0f315a; /* rgb */ color: rgb(15, 49, 90); /* oklch */ color: oklch(31.3% 0.083 255.2);
Tailwind
colors: {
custom: {
50: '#5a6889',
500: '#0f315a',
950: '#000000',
},
}SCSS
$custom: #0f315a; $custom-light: #5a6889; $custom-dark: #000000;
JSON
{
"hex": "#0f315a",
"rgb": {
"r": 15,
"g": 49,
"b": 90
},
"hsl": {
"h": 212.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31304,
"c": 0.08322,
"h": 255.2
},
"luminance": 0.03036
}Semantic roles & 50–950 ramp
primary
#0F315A
secondary
#946731
accent
#9C3AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C