#12304F#12304F
#12304F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.067 H 251.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #12304F |
|---|---|
| RGB | rgb(18, 48, 79) |
| HSL | hsl(210, 63%, 19%) |
| HSV | hsv(210, 77%, 31%) |
| CMYK | cmyk(77.2%, 39.2%, 0%, 69%) |
| CIE-LAB | lab(19.25, 0.93, -22.26) |
| CIE-LCH | lch(19.25, 22.28, 272.40°) |
| OKLab | oklab(30.38% -0.0211 -0.0633) |
| OKLCH | oklch(30.38% 0.067 251.6) |
| XYZ | xyz(2.7172, 2.8067, 7.7942) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 3.86
Navy Blue
#1B2A4A
ΔE00 4.50
Marine Blue
#01386A
ΔE00 4.71
Dark Blue Grey
#1F3B4D
ΔE00 7.30
Twilight Blue
#0A437A
ΔE00 7.84
Dark
#1B2431
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12304F #4F3112
analogous
#124F4F #12304F #13124F
triadic
#12304F #4F1230 #304F12
tetradic
#12304F #4F124F #4F3112 #124F13
square
#12304F #4F124F #4F3112 #124F13
split-complementary
#12304F #4F1312 #4F4F12
monochromatic
#060F19 #07121D #12304F #1D4E81 #296DB3
Accessibility & contrast
On white
13.45
#12304F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#12304F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12304F
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12304F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12304F | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223250
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #12304f; /* rgb */ color: rgb(18, 48, 79); /* oklch */ color: oklch(30.4% 0.067 251.6);
Tailwind
colors: {
custom: {
50: '#596880',
500: '#12304f',
950: '#000000',
},
}SCSS
$custom: #12304f; $custom-light: #596880; $custom-dark: #000000;
JSON
{
"hex": "#12304f",
"rgb": {
"r": 18,
"g": 48,
"b": 79
},
"hsl": {
"h": 210.492,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.30376,
"c": 0.06668,
"h": 251.6
},
"luminance": 0.02807
}Semantic roles & 50–950 ramp
primary
#12304F
secondary
#885F35
accent
#9542E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C