#12409F#12409F
#12409F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.162 H 262.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #12409F |
|---|---|
| RGB | rgb(18, 64, 159) |
| HSL | hsl(220, 80%, 35%) |
| HSV | hsv(220, 89%, 62%) |
| CMYK | cmyk(88.7%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(30.15, 23.24, -55.54) |
| CIE-LCH | lch(30.15, 60.21, 292.71°) |
| OKLab | oklab(40.62% -0.0215 -0.1607) |
| OKLCH | oklch(40.62% 0.162 262.4) |
| XYZ | xyz(8.3386, 6.2975, 33.5702) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.74
Cobalt (survey)
#1E488F
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 4.15
Darkish Blue
#014182
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 6.06
Twilight Blue
#0A437A
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12409F #9F7112
analogous
#12869F #12409F #2B129F
triadic
#12409F #9F1240 #409F12
tetradic
#12409F #9F1286 #9F7112 #129F2B
square
#12409F #9F1286 #9F7112 #129F2B
split-complementary
#12409F #9F2B12 #869F12
monochromatic
#061431 #0C2A68 #12409F #1856D6 #4279EA
Accessibility & contrast
On white
9.29
#12409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#12409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12409F
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12409F | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #12409f; /* rgb */ color: rgb(18, 64, 159); /* oklch */ color: oklch(40.6% 0.162 262.4);
Tailwind
colors: {
custom: {
50: '#6e74bc',
500: '#12409f',
950: '#000000',
},
}SCSS
$custom: #12409f; $custom-light: #6e74bc; $custom-dark: #000000;
JSON
{
"hex": "#12409f",
"rgb": {
"r": 18,
"g": 64,
"b": 159
},
"hsl": {
"h": 220.426,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.40619,
"c": 0.16216,
"h": 262.4
},
"luminance": 0.06299
}Semantic roles & 50–950 ramp
primary
#12409F
secondary
#CA9E43
accent
#B632F6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81