#0F3156#0F3156
#0F3156 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.077 H 253.2°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #0F3156 |
|---|---|
| RGB | rgb(15, 49, 86) |
| HSL | hsl(211, 70%, 20%) |
| HSV | hsv(211, 83%, 34%) |
| CMYK | cmyk(82.6%, 43%, 0%, 66.3%) |
| CIE-LAB | lab(19.92, 2.73, -25.89) |
| CIE-LCH | lch(19.92, 26.03, 276.01°) |
| OKLab | oklab(31.01% -0.0223 -0.0739) |
| OKLCH | oklch(31.01% 0.077 253.2) |
| XYZ | xyz(2.9744, 2.9697, 9.2187) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 2.54
Marine Blue
#01386A
ΔE00 3.53
Navy Blue
#1B2A4A
ΔE00 4.53
Twilight Blue
#0A437A
ΔE00 6.93
Darkish Blue
#014182
ΔE00 7.19
Prussian Blue
#004577
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F3156 #56340F
analogous
#0F5456 #0F3156 #110F56
triadic
#0F3156 #560F31 #31560F
tetradic
#0F3156 #560F54 #56340F #0F5611
square
#0F3156 #560F54 #56340F #0F5611
split-complementary
#0F3156 #56110F #54560F
monochromatic
#050F1A #061322 #0F3156 #184F8A #216CBE
Accessibility & contrast
On white
13.17
#0F3156 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#0F3156 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F3156
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F3156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F3156 | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3457
Deuteranopia (green-blind)
#142D55
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #0f3156; /* rgb */ color: rgb(15, 49, 86); /* oklch */ color: oklch(31.0% 0.077 253.2);
Tailwind
colors: {
custom: {
50: '#596886',
500: '#0f3156',
950: '#000000',
},
}SCSS
$custom: #0f3156; $custom-light: #596886; $custom-dark: #000000;
JSON
{
"hex": "#0f3156",
"rgb": {
"r": 15,
"g": 49,
"b": 86
},
"hsl": {
"h": 211.268,
"s": 70.297,
"l": 19.804
},
"oklch": {
"l": 0.31012,
"c": 0.0772,
"h": 253.2
},
"luminance": 0.0297
}Semantic roles & 50–950 ramp
primary
#0F3156
secondary
#906231
accent
#983BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C