#12488C#12488C
#12488C is a dark, vivid cyan. Relative luminance 0.067; OKLCH L 40.8% C 0.126 H 256.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #12488C |
|---|---|
| RGB | rgb(18, 72, 140) |
| HSL | hsl(213, 77%, 31%) |
| HSV | hsv(213, 87%, 55%) |
| CMYK | cmyk(87.1%, 48.6%, 0%, 45.1%) |
| CIE-LAB | lab(31.01, 9.89, -42.56) |
| CIE-LCH | lch(31.01, 43.69, 283.09°) |
| OKLab | oklab(40.81% -0.029 -0.1224) |
| OKLCH | oklch(40.81% 0.126 256.7) |
| XYZ | xyz(7.2987, 6.6559, 25.7059) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.42
Darkish Blue
#014182
ΔE00 2.45
Twilight Blue
#0A437A
ΔE00 2.77
Dusk Blue
#26538D
ΔE00 3.58
Prussian Blue
#004577
ΔE00 3.66
Light Navy
#155084
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12488C #8C5612
analogous
#12858C #12488C #19128C
triadic
#12488C #8C1248 #488C12
tetradic
#12488C #8C1285 #8C5612 #128C19
square
#12488C #8C1285 #8C5612 #128C19
split-complementary
#12488C #8C1912 #858C12
monochromatic
#041020 #0B2C56 #12488C #1964C2 #3482E5
Accessibility & contrast
On white
9.01
#12488C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#12488C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12488C
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12488C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12488C | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #12488c; /* rgb */ color: rgb(18, 72, 140); /* oklch */ color: oklch(40.8% 0.126 256.7);
Tailwind
colors: {
custom: {
50: '#687aae',
500: '#12488c',
950: '#000000',
},
}SCSS
$custom: #12488c; $custom-light: #687aae; $custom-dark: #000000;
JSON
{
"hex": "#12488c",
"rgb": {
"r": 18,
"g": 72,
"b": 140
},
"hsl": {
"h": 213.443,
"s": 77.215,
"l": 30.98
},
"oklch": {
"l": 0.40812,
"c": 0.12578,
"h": 256.7
},
"luminance": 0.06657
}Semantic roles & 50–950 ramp
primary
#12488C
secondary
#C08539
accent
#9F34F4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F