#1D1D9F#1D1D9F
#1D1D9F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.197 H 270.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1D9F |
|---|---|
| RGB | rgb(29, 29, 159) |
| HSL | hsl(240, 69%, 37%) |
| HSV | hsv(240, 82%, 62%) |
| CMYK | cmyk(81.8%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(22.45, 45.84, -68.21) |
| CIE-LCH | lch(22.45, 82.18, 303.90°) |
| OKLab | oklab(35.14% 0.0005 -0.1975) |
| OKLCH | oklch(35.14% 0.197 270.1) |
| XYZ | xyz(7.2019, 3.6423, 33.1176) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.32
Cobalt Blue
#030AA7
ΔE00 3.02
Royal Blue (survey)
#0504AA
ΔE00 3.57
Indigo Blue
#3A18B1
ΔE00 3.90
Ultramarine
#2000B1
ΔE00 4.04
True Blue
#010FCC
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1D9F #9F9F1D
analogous
#1D5E9F #1D1D9F #5E1D9F
triadic
#1D1D9F #9F1D1D #1D9F1D
tetradic
#1D1D9F #9F1D5E #9F9F1D #1D9F5E
square
#1D1D9F #9F1D5E #9F9F1D #1D9F5E
split-complementary
#1D1D9F #9F5E1D #5E9F1D
monochromatic
#0A0A37 #14146B #1D1D9F #2626D3 #5656E0
Accessibility & contrast
On white
12.15
#1D1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1D1D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1D9F
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1D9F | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1d1d9f; /* rgb */ color: rgb(29, 29, 159); /* oklch */ color: oklch(35.1% 0.197 270.1);
Tailwind
colors: {
custom: {
50: '#735cbd',
500: '#1d1d9f',
950: '#000000',
},
}SCSS
$custom: #1d1d9f; $custom-light: #735cbd; $custom-dark: #000000;
JSON
{
"hex": "#1d1d9f",
"rgb": {
"r": 29,
"g": 29,
"b": 159
},
"hsl": {
"h": 240,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.35138,
"c": 0.19748,
"h": 270.1
},
"luminance": 0.03643
}Semantic roles & 50–950 ramp
primary
#1D1D9F
secondary
#C4C454
accent
#EC3CEC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981