#1D309F#1D309F
#1D309F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.179 H 268.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1D309F |
|---|---|
| RGB | rgb(29, 48, 159) |
| HSL | hsl(231, 69%, 37%) |
| HSV | hsv(231, 82%, 62%) |
| CMYK | cmyk(81.8%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.38, 34.78, -61.71) |
| CIE-LCH | lch(26.38, 70.83, 299.41°) |
| OKLab | oklab(37.94% -0.006 -0.1788) |
| OKLCH | oklch(37.94% 0.179 268.1) |
| XYZ | xyz(7.8195, 4.8774, 33.3235) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Royal
#0C1793
ΔE00 6.22
Blueberry
#464196
ΔE00 6.67
Indigo Blue
#3A18B1
ΔE00 6.83
Blue Blue
#2242C7
ΔE00 7.16
Darkslateblue
#483D8B
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D309F #9F8C1D
analogous
#1D719F #1D309F #4B1D9F
triadic
#1D309F #9F1D30 #309F1D
tetradic
#1D309F #9F1D71 #9F8C1D #1D9F4B
square
#1D309F #9F1D71 #9F8C1D #1D9F4B
split-complementary
#1D309F #9F4B1D #719F1D
monochromatic
#0A1137 #14206B #1D309F #2640D3 #566AE0
Accessibility & contrast
On white
10.63
#1D309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1D309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D309F
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D309F | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1d309f; /* rgb */ color: rgb(29, 48, 159); /* oklch */ color: oklch(37.9% 0.179 268.1);
Tailwind
colors: {
custom: {
50: '#7268bc',
500: '#1d309f',
950: '#000000',
},
}SCSS
$custom: #1d309f; $custom-light: #7268bc; $custom-dark: #000000;
JSON
{
"hex": "#1d309f",
"rgb": {
"r": 29,
"g": 48,
"b": 159
},
"hsl": {
"h": 231.231,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.37935,
"c": 0.17887,
"h": 268.1
},
"luminance": 0.04878
}Semantic roles & 50–950 ramp
primary
#1D309F
secondary
#C4B354
accent
#D23CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81