#1D257F#1D257F
#1D257F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.149 H 271.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1D257F |
|---|---|
| RGB | rgb(29, 37, 127) |
| HSL | hsl(235, 63%, 31%) |
| HSV | hsv(235, 77%, 50%) |
| CMYK | cmyk(77.2%, 70.9%, 0%, 50.2%) |
| CIE-LAB | lab(20.50, 29.98, -51.53) |
| CIE-LCH | lch(20.50, 59.62, 300.19°) |
| OKLab | oklab(32.69% 0.0028 -0.1491) |
| OKLCH | oklch(32.69% 0.149 271.1) |
| XYZ | xyz(4.9977, 3.1161, 20.4126) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.65
Royal
#0C1793
ΔE00 4.83
Dark Royal Blue
#02066F
ΔE00 7.27
Darkblue
#00008B
ΔE00 7.61
Navy
#000080
ΔE00 7.70
Deep Blue
#040273
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D257F #7F771D
analogous
#1D567F #1D257F #461D7F
triadic
#1D257F #7F1D25 #257F1D
tetradic
#1D257F #7F1D56 #7F771D #1D7F46
square
#1D257F #7F1D56 #7F771D #1D7F46
split-complementary
#1D257F #7F461D #567F1D
monochromatic
#06081B #12164D #1D257F #2834B1 #424ED4
Accessibility & contrast
On white
12.94
#1D257F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1D257F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D257F
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D257F | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d257f; /* rgb */ color: rgb(29, 37, 127); /* oklch */ color: oklch(32.7% 0.149 271.1);
Tailwind
colors: {
custom: {
50: '#6a60a5',
500: '#1d257f',
950: '#000000',
},
}SCSS
$custom: #1d257f; $custom-light: #6a60a5; $custom-dark: #000000;
JSON
{
"hex": "#1d257f",
"rgb": {
"r": 29,
"g": 37,
"b": 127
},
"hsl": {
"h": 235.102,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.32694,
"c": 0.14913,
"h": 271.1
},
"luminance": 0.03117
}Semantic roles & 50–950 ramp
primary
#1D257F
secondary
#B2A945
accent
#D842E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F