#12498F#12498F
#12498F is a dark, vivid cyan. Relative luminance 0.069; OKLCH L 41.3% C 0.129 H 256.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #12498F |
|---|---|
| RGB | rgb(18, 73, 143) |
| HSL | hsl(214, 78%, 32%) |
| HSV | hsv(214, 87%, 56%) |
| CMYK | cmyk(87.4%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(31.52, 10.46, -43.57) |
| CIE-LCH | lch(31.52, 44.81, 283.49°) |
| OKLab | oklab(41.27% -0.0292 -0.1253) |
| OKLCH | oklch(41.27% 0.129 256.9) |
| XYZ | xyz(7.5881, 6.8759, 26.9085) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.37
Darkish Blue
#014182
ΔE00 2.88
Twilight Blue
#0A437A
ΔE00 3.21
Dusk Blue
#26538D
ΔE00 3.31
Light Navy
#155084
ΔE00 3.59
Prussian Blue
#004577
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12498F #8F5812
analogous
#12888F #12498F #1A128F
triadic
#12498F #8F1249 #498F12
tetradic
#12498F #8F1288 #8F5812 #128F1A
square
#12498F #8F1288 #8F5812 #128F1A
split-complementary
#12498F #8F1A12 #888F12
monochromatic
#041222 #0B2D59 #12498F #1965C5 #3683E6
Accessibility & contrast
On white
8.84
#12498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#12498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12498F
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12498F | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #12498f; /* rgb */ color: rgb(18, 73, 143); /* oklch */ color: oklch(41.3% 0.129 256.9);
Tailwind
colors: {
custom: {
50: '#697bb0',
500: '#12498f',
950: '#000000',
},
}SCSS
$custom: #12498f; $custom-light: #697bb0; $custom-dark: #000000;
JSON
{
"hex": "#12498f",
"rgb": {
"r": 18,
"g": 73,
"b": 143
},
"hsl": {
"h": 213.6,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.41274,
"c": 0.12871,
"h": 256.9
},
"luminance": 0.06877
}Semantic roles & 50–950 ramp
primary
#12498F
secondary
#C3873A
accent
#9F34F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F