#1D227C#1D227C
#1D227C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.149 H 271.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1D227C |
|---|---|
| RGB | rgb(29, 34, 124) |
| HSL | hsl(237, 62%, 30%) |
| HSV | hsv(237, 77%, 49%) |
| CMYK | cmyk(76.6%, 72.6%, 0%, 51.4%) |
| CIE-LAB | lab(19.47, 30.82, -51.32) |
| CIE-LCH | lch(19.47, 59.86, 300.99°) |
| OKLab | oklab(31.86% 0.005 -0.1485) |
| OKLCH | oklch(31.86% 0.149 271.9) |
| XYZ | xyz(4.7156, 2.8600, 19.3684) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.76
Royal
#0C1793
ΔE00 4.59
Dark Royal Blue
#02066F
ΔE00 6.42
Darkblue (survey)
#030764
ΔE00 6.91
Deep Blue
#040273
ΔE00 6.92
Navy
#000080
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D227C #7C771D
analogous
#1D527C #1D227C #471D7C
triadic
#1D227C #7C1D22 #227C1D
tetradic
#1D227C #7C1D52 #7C771D #1D7C47
square
#1D227C #7C1D52 #7C771D #1D7C47
split-complementary
#1D227C #7C471D #527C1D
monochromatic
#060719 #11144A #1D227C #2930AE #4149D3
Accessibility & contrast
On white
13.36
#1D227C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1D227C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D227C
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D227C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D227C | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1d227c; /* rgb */ color: rgb(29, 34, 124); /* oklch */ color: oklch(31.9% 0.149 271.9);
Tailwind
colors: {
custom: {
50: '#6a5da3',
500: '#1d227c',
950: '#000000',
},
}SCSS
$custom: #1d227c; $custom-light: #6a5da3; $custom-dark: #000000;
JSON
{
"hex": "#1d227c",
"rgb": {
"r": 29,
"g": 34,
"b": 124
},
"hsl": {
"h": 236.842,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.31858,
"c": 0.14856,
"h": 271.9
},
"luminance": 0.02861
}Semantic roles & 50–950 ramp
primary
#1D227C
secondary
#B0AA45
accent
#DD43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F