#12438E#12438E
#12438E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.135 H 259.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #12438E |
|---|---|
| RGB | rgb(18, 67, 142) |
| HSL | hsl(216, 78%, 31%) |
| HSV | hsv(216, 87%, 56%) |
| CMYK | cmyk(87.3%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(29.65, 14.17, -45.98) |
| CIE-LCH | lch(29.65, 48.12, 287.13°) |
| OKLab | oklab(39.81% -0.025 -0.1326) |
| OKLCH | oklch(39.81% 0.135 259.3) |
| XYZ | xyz(7.1373, 6.0950, 26.3862) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.62
Darkish Blue
#014182
ΔE00 2.26
Twilight Blue
#0A437A
ΔE00 3.36
Cobalt
#0047AB
ΔE00 3.90
Prussian Blue
#004577
ΔE00 4.71
Dusk Blue
#26538D
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12438E #8E5D12
analogous
#12818E #12438E #1F128E
triadic
#12438E #8E1243 #438E12
tetradic
#12438E #8E1281 #8E5D12 #128E1F
square
#12438E #8E1281 #8E5D12 #128E1F
split-complementary
#12438E #8E1F12 #818E12
monochromatic
#041021 #0B2958 #12438E #195DC4 #357BE5
Accessibility & contrast
On white
9.46
#12438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#12438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12438E
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12438E | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4C91
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #12438e; /* rgb */ color: rgb(18, 67, 142); /* oklch */ color: oklch(39.8% 0.135 259.3);
Tailwind
colors: {
custom: {
50: '#6976b0',
500: '#12438e',
950: '#000000',
},
}SCSS
$custom: #12438e; $custom-light: #6976b0; $custom-dark: #000000;
JSON
{
"hex": "#12438e",
"rgb": {
"r": 18,
"g": 67,
"b": 142
},
"hsl": {
"h": 216.29,
"s": 77.5,
"l": 31.373
},
"oklch": {
"l": 0.39814,
"c": 0.13491,
"h": 259.3
},
"luminance": 0.06096
}Semantic roles & 50–950 ramp
primary
#12438E
secondary
#C28C3A
accent
#A834F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F