#1D226F#1D226F
#1D226F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.131 H 272.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1D226F |
|---|---|
| RGB | rgb(29, 34, 111) |
| HSL | hsl(236, 59%, 27%) |
| HSV | hsv(236, 74%, 44%) |
| CMYK | cmyk(73.9%, 69.4%, 0%, 56.5%) |
| CIE-LAB | lab(18.15, 25.93, -45.14) |
| CIE-LCH | lch(18.15, 52.05, 299.87°) |
| OKLab | oklab(30.5% 0.0065 -0.1304) |
| OKLCH | oklch(30.5% 0.131 272.8) |
| XYZ | xyz(3.9470, 2.5526, 15.3205) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.69
Royal
#0C1793
ΔE00 6.65
Darkblue (survey)
#030764
ΔE00 6.70
Dark Royal Blue
#02066F
ΔE00 6.79
Dark Indigo
#1F0954
ΔE00 7.47
Deep Blue
#040273
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D226F #6F6A1D
analogous
#1D4B6F #1D226F #411D6F
triadic
#1D226F #6F1D22 #226F1D
tetradic
#1D226F #6F1D4B #6F6A1D #1D6F41
square
#1D226F #6F1D4B #6F6A1D #1D6F41
split-complementary
#1D226F #6F411D #4B6F1D
monochromatic
#060718 #10133E #1D226F #2A31A0 #3B44CC
Accessibility & contrast
On white
13.90
#1D226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1D226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D226F
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D226F | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1d226f; /* rgb */ color: rgb(29, 34, 111); /* oklch */ color: oklch(30.5% 0.131 272.8);
Tailwind
colors: {
custom: {
50: '#665d99',
500: '#1d226f',
950: '#000000',
},
}SCSS
$custom: #1d226f; $custom-light: #665d99; $custom-dark: #000000;
JSON
{
"hex": "#1d226f",
"rgb": {
"r": 29,
"g": 34,
"b": 111
},
"hsl": {
"h": 236.341,
"s": 58.571,
"l": 27.451
},
"oklch": {
"l": 0.30502,
"c": 0.13058,
"h": 272.8
},
"luminance": 0.02553
}Semantic roles & 50–950 ramp
primary
#1D226F
secondary
#A39E44
accent
#D846E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E