#12478C#12478C
#12478C is a dark, vivid cyan. Relative luminance 0.065; OKLCH L 40.6% C 0.127 H 257.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #12478C |
|---|---|
| RGB | rgb(18, 71, 140) |
| HSL | hsl(214, 77%, 31%) |
| HSV | hsv(214, 87%, 55%) |
| CMYK | cmyk(87.1%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(30.71, 10.58, -43.05) |
| CIE-LCH | lch(30.71, 44.33, 283.81°) |
| OKLab | oklab(40.58% -0.0282 -0.1238) |
| OKLCH | oklch(40.58% 0.127 257.2) |
| XYZ | xyz(7.2346, 6.5276, 25.6845) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.26
Darkish Blue
#014182
ΔE00 2.24
Twilight Blue
#0A437A
ΔE00 2.73
Prussian Blue
#004577
ΔE00 3.76
Dusk Blue
#26538D
ΔE00 3.91
Light Navy
#155084
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12478C #8C5712
analogous
#12848C #12478C #1A128C
triadic
#12478C #8C1247 #478C12
tetradic
#12478C #8C1284 #8C5712 #128C1A
square
#12478C #8C1284 #8C5712 #128C1A
split-complementary
#12478C #8C1A12 #848C12
monochromatic
#041020 #0B2B56 #12478C #1963C2 #3481E5
Accessibility & contrast
On white
9.11
#12478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#12478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12478C
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12478C | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #12478c; /* rgb */ color: rgb(18, 71, 140); /* oklch */ color: oklch(40.6% 0.127 257.2);
Tailwind
colors: {
custom: {
50: '#6879ae',
500: '#12478c',
950: '#000000',
},
}SCSS
$custom: #12478c; $custom-light: #6879ae; $custom-dark: #000000;
JSON
{
"hex": "#12478c",
"rgb": {
"r": 18,
"g": 71,
"b": 140
},
"hsl": {
"h": 213.934,
"s": 77.215,
"l": 30.98
},
"oklch": {
"l": 0.40578,
"c": 0.12703,
"h": 257.2
},
"luminance": 0.06529
}Semantic roles & 50–950 ramp
primary
#12478C
secondary
#C08639
accent
#A034F4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F