#1D307F#1D307F
#1D307F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.135 H 268.1°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1D307F |
|---|---|
| RGB | rgb(29, 48, 127) |
| HSL | hsl(228, 63%, 31%) |
| HSV | hsv(228, 77%, 50%) |
| CMYK | cmyk(77.2%, 62.2%, 0%, 50.2%) |
| CIE-LAB | lab(23.36, 22.47, -46.85) |
| CIE-LCH | lch(23.36, 51.96, 295.63°) |
| OKLab | oklab(34.79% -0.0045 -0.1353) |
| OKLCH | oklch(34.79% 0.135 268.1) |
| XYZ | xyz(5.3931, 3.9068, 20.5444) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.17
Sapphire (survey)
#2138AB
ΔE00 6.67
Midnight Blue
#191970
ΔE00 6.87
Marine Blue
#01386A
ΔE00 7.03
Darkslateblue
#483D8B
ΔE00 7.14
Blueberry
#464196
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D307F #7F6C1D
analogous
#1D617F #1D307F #3B1D7F
triadic
#1D307F #7F1D30 #307F1D
tetradic
#1D307F #7F1D61 #7F6C1D #1D7F3B
square
#1D307F #7F1D61 #7F6C1D #1D7F3B
split-complementary
#1D307F #7F3B1D #617F1D
monochromatic
#060A1B #121D4D #1D307F #2843B1 #425FD4
Accessibility & contrast
On white
11.79
#1D307F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1D307F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D307F
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D307F | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1d307f; /* rgb */ color: rgb(29, 48, 127); /* oklch */ color: oklch(34.8% 0.135 268.1);
Tailwind
colors: {
custom: {
50: '#6968a5',
500: '#1d307f',
950: '#000000',
},
}SCSS
$custom: #1d307f; $custom-light: #6968a5; $custom-dark: #000000;
JSON
{
"hex": "#1d307f",
"rgb": {
"r": 29,
"g": 48,
"b": 127
},
"hsl": {
"h": 228.367,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.34793,
"c": 0.13538,
"h": 268.1
},
"luminance": 0.03907
}Semantic roles & 50–950 ramp
primary
#1D307F
secondary
#B29D45
accent
#C642E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F