#1D308F#1D308F
#1D308F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.158 H 268.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1D308F |
|---|---|
| RGB | rgb(29, 48, 143) |
| HSL | hsl(230, 66%, 34%) |
| HSV | hsv(230, 80%, 56%) |
| CMYK | cmyk(79.7%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.82, 28.73, -54.46) |
| CIE-LCH | lch(24.82, 61.57, 297.81°) |
| OKLab | oklab(36.32% -0.0049 -0.1576) |
| OKLCH | oklch(36.32% 0.158 268.2) |
| XYZ | xyz(6.5199, 4.3575, 26.4787) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.39
Royal
#0C1793
ΔE00 6.55
Blueberry
#464196
ΔE00 6.65
Darkslateblue
#483D8B
ΔE00 6.88
Midnight Blue
#191970
ΔE00 7.34
Cobalt
#0047AB
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D308F #8F7C1D
analogous
#1D698F #1D308F #431D8F
triadic
#1D308F #8F1D30 #308F1D
tetradic
#1D308F #8F1D69 #8F7C1D #1D8F43
square
#1D308F #8F1D69 #8F7C1D #1D8F43
split-complementary
#1D308F #8F431D #698F1D
monochromatic
#080E29 #131F5C #1D308F #2741C2 #4C64DB
Accessibility & contrast
On white
11.22
#1D308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1D308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D308F
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D308F | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1d308f; /* rgb */ color: rgb(29, 48, 143); /* oklch */ color: oklch(36.3% 0.158 268.2);
Tailwind
colors: {
custom: {
50: '#6d68b1',
500: '#1d308f',
950: '#000000',
},
}SCSS
$custom: #1d308f; $custom-light: #6d68b1; $custom-dark: #000000;
JSON
{
"hex": "#1d308f",
"rgb": {
"r": 29,
"g": 48,
"b": 143
},
"hsl": {
"h": 230,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.3632,
"c": 0.15768,
"h": 268.2
},
"luminance": 0.04358
}Semantic roles & 50–950 ramp
primary
#1D308F
secondary
#BDAA4B
accent
#CD3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80