#1A408D#1A408D
#1A408D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.135 H 262.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1A408D |
|---|---|
| RGB | rgb(26, 64, 141) |
| HSL | hsl(220, 69%, 33%) |
| HSV | hsv(220, 82%, 55%) |
| CMYK | cmyk(81.6%, 54.6%, 0%, 44.7%) |
| CIE-LAB | lab(28.92, 16.59, -46.53) |
| CIE-LCH | lch(28.92, 49.40, 289.63°) |
| OKLab | oklab(39.3% -0.0181 -0.1342) |
| OKLCH | oklch(39.3% 0.135 262.3) |
| XYZ | xyz(7.0654, 5.8087, 25.9429) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.71
Darkish Blue
#014182
ΔE00 3.21
Twilight Blue
#0A437A
ΔE00 4.37
Cobalt
#0047AB
ΔE00 4.38
Marine Blue
#01386A
ΔE00 5.78
Prussian Blue
#004577
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A408D #8D671A
analogous
#1A798D #1A408D #2E1A8D
triadic
#1A408D #8D1A40 #408D1A
tetradic
#1A408D #8D1A79 #8D671A #1A8D2E
square
#1A408D #8D1A79 #8D671A #1A8D2E
split-complementary
#1A408D #8D2E1A #798D1A
monochromatic
#071126 #102959 #1A408D #2457C1 #4577DD
Accessibility & contrast
On white
9.71
#1A408D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1A408D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A408D
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A408D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A408D | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1a408d; /* rgb */ color: rgb(26, 64, 141); /* oklch */ color: oklch(39.3% 0.135 262.3);
Tailwind
colors: {
custom: {
50: '#6b74af',
500: '#1a408d',
950: '#000000',
},
}SCSS
$custom: #1a408d; $custom-light: #6b74af; $custom-dark: #000000;
JSON
{
"hex": "#1a408d",
"rgb": {
"r": 26,
"g": 64,
"b": 141
},
"hsl": {
"h": 220.174,
"s": 68.862,
"l": 32.745
},
"oklch": {
"l": 0.39302,
"c": 0.13538,
"h": 262.3
},
"luminance": 0.05809
}Semantic roles & 50–950 ramp
primary
#1A408D
secondary
#BE9645
accent
#B23CEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F