#1D267C#1D267C
#1D267C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.144 H 271.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1D267C |
|---|---|
| RGB | rgb(29, 38, 124) |
| HSL | hsl(234, 62%, 30%) |
| HSV | hsv(234, 77%, 49%) |
| CMYK | cmyk(76.6%, 69.4%, 0%, 51.4%) |
| CIE-LAB | lab(20.45, 28.18, -49.72) |
| CIE-LCH | lch(20.45, 57.15, 299.54°) |
| OKLab | oklab(32.56% 0.0025 -0.1438) |
| OKLCH | oklch(32.56% 0.144 271) |
| XYZ | xyz(4.8367, 3.1022, 19.4088) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.75
Royal
#0C1793
ΔE00 5.47
Dark Royal Blue
#02066F
ΔE00 7.56
Marine
#042E60
ΔE00 7.89
Darkblue (survey)
#030764
ΔE00 7.94
Sapphire (survey)
#2138AB
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D267C #7C731D
analogous
#1D557C #1D267C #441D7C
triadic
#1D267C #7C1D26 #267C1D
tetradic
#1D267C #7C1D55 #7C731D #1D7C44
square
#1D267C #7C1D55 #7C731D #1D7C44
split-complementary
#1D267C #7C441D #557C1D
monochromatic
#060819 #11174A #1D267C #2935AE #414FD3
Accessibility & contrast
On white
12.96
#1D267C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1D267C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D267C
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D267C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D267C | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d267c; /* rgb */ color: rgb(29, 38, 124); /* oklch */ color: oklch(32.6% 0.144 271.0);
Tailwind
colors: {
custom: {
50: '#6960a3',
500: '#1d267c',
950: '#000000',
},
}SCSS
$custom: #1d267c; $custom-light: #6960a3; $custom-dark: #000000;
JSON
{
"hex": "#1d267c",
"rgb": {
"r": 29,
"g": 38,
"b": 124
},
"hsl": {
"h": 234.316,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.32563,
"c": 0.14381,
"h": 271
},
"luminance": 0.03103
}Semantic roles & 50–950 ramp
primary
#1D267C
secondary
#B0A645
accent
#D643E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F