#1D267F#1D267F
#1D267F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.148 H 270.9°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1D267F |
|---|---|
| RGB | rgb(29, 38, 127) |
| HSL | hsl(234, 63%, 31%) |
| HSV | hsv(234, 77%, 50%) |
| CMYK | cmyk(77.2%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(20.75, 29.32, -51.13) |
| CIE-LCH | lch(20.75, 58.94, 299.83°) |
| OKLab | oklab(32.87% 0.0022 -0.1479) |
| OKLCH | oklch(32.87% 0.148 270.9) |
| XYZ | xyz(5.0293, 3.1792, 20.4232) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.89
Royal
#0C1793
ΔE00 5.08
Dark Royal Blue
#02066F
ΔE00 7.55
Sapphire (survey)
#2138AB
ΔE00 7.62
Darkblue
#00008B
ΔE00 7.90
Cobalt Blue
#030AA7
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D267F #7F761D
analogous
#1D577F #1D267F #451D7F
triadic
#1D267F #7F1D26 #267F1D
tetradic
#1D267F #7F1D57 #7F761D #1D7F45
square
#1D267F #7F1D57 #7F761D #1D7F45
split-complementary
#1D267F #7F451D #577F1D
monochromatic
#06081B #12174D #1D267F #2835B1 #4250D4
Accessibility & contrast
On white
12.84
#1D267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1D267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D267F
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D267F | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1d267f; /* rgb */ color: rgb(29, 38, 127); /* oklch */ color: oklch(32.9% 0.148 270.9);
Tailwind
colors: {
custom: {
50: '#6a60a5',
500: '#1d267f',
950: '#000000',
},
}SCSS
$custom: #1d267f; $custom-light: #6a60a5; $custom-dark: #000000;
JSON
{
"hex": "#1d267f",
"rgb": {
"r": 29,
"g": 38,
"b": 127
},
"hsl": {
"h": 234.49,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.32872,
"c": 0.14794,
"h": 270.9
},
"luminance": 0.0318
}Semantic roles & 50–950 ramp
primary
#1D267F
secondary
#B2A845
accent
#D742E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F