#12458C#12458C
#12458C is a dark, vivid cyan. Relative luminance 0.063; OKLCH L 40.1% C 0.130 H 258.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #12458C |
|---|---|
| RGB | rgb(18, 69, 140) |
| HSL | hsl(215, 77%, 31%) |
| HSV | hsv(215, 87%, 55%) |
| CMYK | cmyk(87.1%, 50.7%, 0%, 45.1%) |
| CIE-LAB | lab(30.10, 11.96, -44.02) |
| CIE-LCH | lch(30.10, 45.62, 285.19°) |
| OKLab | oklab(40.11% -0.0267 -0.1268) |
| OKLCH | oklch(40.11% 0.13 258.1) |
| XYZ | xyz(7.1095, 6.2774, 25.6428) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.26
Darkish Blue
#014182
ΔE00 1.97
Twilight Blue
#0A437A
ΔE00 2.81
Prussian Blue
#004577
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.14
Dusk Blue
#26538D
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12458C #8C5912
analogous
#12828C #12458C #1C128C
triadic
#12458C #8C1245 #458C12
tetradic
#12458C #8C1282 #8C5912 #128C1C
square
#12458C #8C1282 #8C5912 #128C1C
split-complementary
#12458C #8C1C12 #828C12
monochromatic
#041020 #0B2A56 #12458C #1960C2 #347EE5
Accessibility & contrast
On white
9.31
#12458C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#12458C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12458C
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12458C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12458C | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194D8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #12458c; /* rgb */ color: rgb(18, 69, 140); /* oklch */ color: oklch(40.1% 0.130 258.1);
Tailwind
colors: {
custom: {
50: '#6878ae',
500: '#12458c',
950: '#000000',
},
}SCSS
$custom: #12458c; $custom-light: #6878ae; $custom-dark: #000000;
JSON
{
"hex": "#12458c",
"rgb": {
"r": 18,
"g": 69,
"b": 140
},
"hsl": {
"h": 214.918,
"s": 77.215,
"l": 30.98
},
"oklch": {
"l": 0.40113,
"c": 0.12956,
"h": 258.1
},
"luminance": 0.06278
}Semantic roles & 50–950 ramp
primary
#12458C
secondary
#C08839
accent
#A434F4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F