#12438F#12438F
#12438F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.136 H 259.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #12438F |
|---|---|
| RGB | rgb(18, 67, 143) |
| HSL | hsl(216, 78%, 32%) |
| HSV | hsv(216, 87%, 56%) |
| CMYK | cmyk(87.4%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(29.73, 14.59, -46.48) |
| CIE-LCH | lch(29.73, 48.71, 287.43°) |
| OKLab | oklab(39.9% -0.0248 -0.134) |
| OKLCH | oklch(39.9% 0.136 259.5) |
| XYZ | xyz(7.2127, 6.1252, 26.7834) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.63
Darkish Blue
#014182
ΔE00 2.40
Twilight Blue
#0A437A
ΔE00 3.50
Cobalt
#0047AB
ΔE00 3.77
Prussian Blue
#004577
ΔE00 4.83
Dusk Blue
#26538D
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12438F #8F5E12
analogous
#12828F #12438F #20128F
triadic
#12438F #8F1243 #438F12
tetradic
#12438F #8F1282 #8F5E12 #128F20
square
#12438F #8F1282 #8F5E12 #128F20
split-complementary
#12438F #8F2012 #828F12
monochromatic
#041022 #0B2A59 #12438F #195CC5 #367BE6
Accessibility & contrast
On white
9.44
#12438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#12438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12438F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12438F | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C4C92
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #12438f; /* rgb */ color: rgb(18, 67, 143); /* oklch */ color: oklch(39.9% 0.136 259.5);
Tailwind
colors: {
custom: {
50: '#6976b0',
500: '#12438f',
950: '#000000',
},
}SCSS
$custom: #12438f; $custom-light: #6976b0; $custom-dark: #000000;
JSON
{
"hex": "#12438f",
"rgb": {
"r": 18,
"g": 67,
"b": 143
},
"hsl": {
"h": 216.48,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.39895,
"c": 0.13631,
"h": 259.5
},
"luminance": 0.06126
}Semantic roles & 50–950 ramp
primary
#12438F
secondary
#C38D3A
accent
#A934F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070811
muted
#7A7B80