#1D117C#1D117C
#1D117C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.165 H 274.4°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1D117C |
|---|---|
| RGB | rgb(29, 17, 124) |
| HSL | hsl(247, 76%, 28%) |
| HSV | hsv(247, 86%, 49%) |
| CMYK | cmyk(76.6%, 86.3%, 0%, 51.4%) |
| CIE-LAB | lab(16.09, 40.45, -56.91) |
| CIE-LCH | lch(16.09, 69.82, 305.40°) |
| OKLab | oklab(29.47% 0.0126 -0.1646) |
| OKLCH | oklch(29.47% 0.165 274.4) |
| XYZ | xyz(4.3440, 2.1169, 19.2445) |
| Luminance | 0.0212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.02
Navy
#000080
ΔE00 3.10
Dark Royal Blue
#02066F
ΔE00 3.17
Deep Blue
#040273
ΔE00 3.21
Darkblue
#00008B
ΔE00 3.45
Royal
#0C1793
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D117C #707C11
analogous
#113A7C #1D117C #52117C
triadic
#1D117C #7C1D11 #117C1D
tetradic
#1D117C #7C113A #707C11 #117C52
square
#1D117C #7C113A #707C11 #117C52
split-complementary
#1D117C #7C5211 #3A7C11
monochromatic
#06041B #100A46 #1D117C #2A18B2 #3B26E1
Accessibility & contrast
On white
14.75
#1D117C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1D117C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D117C
14.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D117C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D117C | 1.00 | 14.75 | 1.42 | 14.75 |
| #FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1d117c; /* rgb */ color: rgb(29, 17, 124); /* oklch */ color: oklch(29.5% 0.165 274.4);
Tailwind
colors: {
custom: {
50: '#6b53a3',
500: '#1d117c',
950: '#000000',
},
}SCSS
$custom: #1d117c; $custom-light: #6b53a3; $custom-dark: #000000;
JSON
{
"hex": "#1d117c",
"rgb": {
"r": 29,
"g": 17,
"b": 124
},
"hsl": {
"h": 246.729,
"s": 75.887,
"l": 27.647
},
"oklch": {
"l": 0.29472,
"c": 0.16504,
"h": 274.4
},
"luminance": 0.02117
}Semantic roles & 50–950 ramp
primary
#1D117C
secondary
#A4B237
accent
#F235DD
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F