#1D226C#1D226C
#1D226C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.126 H 273.1°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1D226C |
|---|---|
| RGB | rgb(29, 34, 108) |
| HSL | hsl(236, 58%, 27%) |
| HSV | hsv(236, 73%, 42%) |
| CMYK | cmyk(73.1%, 68.5%, 0%, 57.6%) |
| CIE-LAB | lab(17.86, 24.78, -43.67) |
| CIE-LCH | lch(17.86, 50.21, 299.57°) |
| OKLab | oklab(30.2% 0.0068 -0.1261) |
| OKLCH | oklch(30.2% 0.126 273.1) |
| XYZ | xyz(3.7846, 2.4876, 14.4652) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.97
Darkblue (survey)
#030764
ΔE00 6.78
Dark Royal Blue
#02066F
ΔE00 7.01
Royal
#0C1793
ΔE00 7.17
Dark Indigo
#1F0954
ΔE00 7.32
Navy Blue (survey)
#001146
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D226C #6C671D
analogous
#1D4A6C #1D226C #401D6C
triadic
#1D226C #6C1D22 #226C1D
tetradic
#1D226C #6C1D4A #6C671D #1D6C40
square
#1D226C #6C1D4A #6C671D #1D6C40
split-complementary
#1D226C #6C401D #4A6C1D
monochromatic
#060818 #10133C #1D226C #2A319C #3943CA
Accessibility & contrast
On white
14.02
#1D226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1D226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D226C
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D226C | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1d226c; /* rgb */ color: rgb(29, 34, 108); /* oklch */ color: oklch(30.2% 0.126 273.1);
Tailwind
colors: {
custom: {
50: '#655d97',
500: '#1d226c',
950: '#000000',
},
}SCSS
$custom: #1d226c; $custom-light: #655d97; $custom-dark: #000000;
JSON
{
"hex": "#1d226c",
"rgb": {
"r": 29,
"g": 34,
"b": 108
},
"hsl": {
"h": 236.203,
"s": 57.664,
"l": 26.863
},
"oklch": {
"l": 0.30199,
"c": 0.12629,
"h": 273.1
},
"luminance": 0.02488
}Semantic roles & 50–950 ramp
primary
#1D226C
secondary
#A19B44
accent
#D747E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E