#12478F#12478F
#12478F is a dark, vivid cyan. Relative luminance 0.066; OKLCH L 40.8% C 0.131 H 257.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #12478F |
|---|---|
| RGB | rgb(18, 71, 143) |
| HSL | hsl(215, 78%, 32%) |
| HSV | hsv(215, 87%, 56%) |
| CMYK | cmyk(87.4%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(30.92, 11.83, -44.55) |
| CIE-LCH | lch(30.92, 46.09, 284.87°) |
| OKLab | oklab(40.81% -0.0277 -0.1283) |
| OKLCH | oklch(40.81% 0.131 257.8) |
| XYZ | xyz(7.4588, 6.6173, 26.8654) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.00
Darkish Blue
#014182
ΔE00 2.50
Twilight Blue
#0A437A
ΔE00 3.13
Cobalt
#0047AB
ΔE00 3.82
Dusk Blue
#26538D
ΔE00 3.97
Prussian Blue
#004577
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12478F #8F5A12
analogous
#12868F #12478F #1C128F
triadic
#12478F #8F1247 #478F12
tetradic
#12478F #8F1286 #8F5A12 #128F1C
square
#12478F #8F1286 #8F5A12 #128F1C
split-complementary
#12478F #8F1C12 #868F12
monochromatic
#041122 #0B2C59 #12478F #1962C5 #3680E6
Accessibility & contrast
On white
9.04
#12478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#12478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12478F
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12478F | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #12478f; /* rgb */ color: rgb(18, 71, 143); /* oklch */ color: oklch(40.8% 0.131 257.8);
Tailwind
colors: {
custom: {
50: '#6979b0',
500: '#12478f',
950: '#000000',
},
}SCSS
$custom: #12478f; $custom-light: #6979b0; $custom-dark: #000000;
JSON
{
"hex": "#12478f",
"rgb": {
"r": 18,
"g": 71,
"b": 143
},
"hsl": {
"h": 214.56,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.4081,
"c": 0.13122,
"h": 257.8
},
"luminance": 0.06618
}Semantic roles & 50–950 ramp
primary
#12478F
secondary
#C3893A
accent
#A334F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F