#12314B#12314B
#12314B is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.060 H 246.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #12314B |
|---|---|
| RGB | rgb(18, 49, 75) |
| HSL | hsl(207, 61%, 18%) |
| HSV | hsv(207, 76%, 29%) |
| CMYK | cmyk(76%, 34.7%, 0%, 70.6%) |
| CIE-LAB | lab(19.36, -1.43, -19.40) |
| CIE-LCH | lch(19.36, 19.45, 265.77°) |
| OKLab | oklab(30.39% -0.0236 -0.0549) |
| OKLCH | oklch(30.39% 0.06 246.8) |
| XYZ | xyz(2.6173, 2.8329, 7.0641) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 5.23
Marine
#042E60
ΔE00 5.54
Marine Blue
#01386A
ΔE00 5.63
Navy Blue
#1B2A4A
ΔE00 6.41
Dark
#1B2431
ΔE00 7.19
Dark Grey Blue
#29465B
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12314B #4B2C12
analogous
#124B48 #12314B #12154B
triadic
#12314B #4B1231 #314B12
tetradic
#12314B #48124B #4B2C12 #154B12
square
#12314B #48124B #4B2C12 #154B12
split-complementary
#12314B #4B1215 #4B4812
monochromatic
#061019 #06111A #12314B #1E517C #2A71AE
Accessibility & contrast
On white
13.40
#12314B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#12314B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12314B
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12314B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12314B | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25324C
Deuteranopia (green-blind)
#1D2C4B
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #12314b; /* rgb */ color: rgb(18, 49, 75); /* oklch */ color: oklch(30.4% 0.060 246.8);
Tailwind
colors: {
custom: {
50: '#58687d',
500: '#12314b',
950: '#000000',
},
}SCSS
$custom: #12314b; $custom-light: #58687d; $custom-dark: #000000;
JSON
{
"hex": "#12314b",
"rgb": {
"r": 18,
"g": 49,
"b": 75
},
"hsl": {
"h": 207.368,
"s": 61.29,
"l": 18.235
},
"oklch": {
"l": 0.30385,
"c": 0.05972,
"h": 246.8
},
"luminance": 0.02833
}Semantic roles & 50–950 ramp
primary
#12314B
secondary
#845935
accent
#8D43E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B