#1D399C#1D399C
#1D399C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.164 H 266.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1D399C |
|---|---|
| RGB | rgb(29, 57, 156) |
| HSL | hsl(227, 69%, 36%) |
| HSV | hsv(227, 81%, 61%) |
| CMYK | cmyk(81.4%, 63.5%, 0%, 38.8%) |
| CIE-LAB | lab(28.35, 27.69, -56.66) |
| CIE-LCH | lch(28.35, 63.06, 296.05°) |
| OKLab | oklab(39.29% -0.0105 -0.164) |
| OKLCH | oklch(39.29% 0.164 266.3) |
| XYZ | xyz(7.9685, 5.5868, 32.1044) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.44
Cobalt
#0047AB
ΔE00 5.28
Blueberry
#464196
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 6.18
Blue Blue
#2242C7
ΔE00 6.32
Darkish Blue
#014182
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D399C #9C801D
analogous
#1D799C #1D399C #411D9C
triadic
#1D399C #9C1D39 #399C1D
tetradic
#1D399C #9C1D79 #9C801D #1D9C41
square
#1D399C #9C1D79 #9C801D #1D9C41
split-complementary
#1D399C #9C411D #799C1D
monochromatic
#0A1335 #132668 #1D399C #274CD0 #5473DF
Accessibility & contrast
On white
9.92
#1D399C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1D399C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D399C
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D399C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D399C | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1d399c; /* rgb */ color: rgb(29, 57, 156); /* oklch */ color: oklch(39.3% 0.164 266.3);
Tailwind
colors: {
custom: {
50: '#706fba',
500: '#1d399c',
950: '#000000',
},
}SCSS
$custom: #1d399c; $custom-light: #706fba; $custom-dark: #000000;
JSON
{
"hex": "#1d399c",
"rgb": {
"r": 29,
"g": 57,
"b": 156
},
"hsl": {
"h": 226.772,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.39287,
"c": 0.16429,
"h": 266.3
},
"luminance": 0.05588
}Semantic roles & 50–950 ramp
primary
#1D399C
secondary
#C2AA52
accent
#C53CEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81