#181D7C#181D7C
#181D7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.155 H 270.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #181D7C |
|---|---|
| RGB | rgb(24, 29, 124) |
| HSL | hsl(237, 68%, 29%) |
| HSV | hsv(237, 81%, 49%) |
| CMYK | cmyk(80.6%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(18.04, 33.51, -53.69) |
| CIE-LCH | lch(18.04, 63.29, 301.97°) |
| OKLab | oklab(30.76% 0.0017 -0.1555) |
| OKLCH | oklch(30.76% 0.155 270.6) |
| XYZ | xyz(4.4529, 2.5277, 19.3181) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.03
Royal
#0C1793
ΔE00 3.79
Dark Royal Blue
#02066F
ΔE00 5.13
Deep Blue
#040273
ΔE00 5.59
Navy
#000080
ΔE00 5.62
Darkblue
#00008B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181D7C #7C7718
analogous
#184F7C #181D7C #45187C
triadic
#181D7C #7C181D #1D7C18
tetradic
#181D7C #7C184F #7C7718 #187C45
square
#181D7C #7C184F #7C7718 #187C45
split-complementary
#181D7C #7C4518 #4F7C18
monochromatic
#05061A #0E1149 #181D7C #2229AF #363ED8
Accessibility & contrast
On white
13.95
#181D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#181D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181D7C
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181D7C | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181d7c; /* rgb */ color: rgb(24, 29, 124); /* oklch */ color: oklch(30.8% 0.155 270.6);
Tailwind
colors: {
custom: {
50: '#685aa3',
500: '#181d7c',
950: '#000000',
},
}SCSS
$custom: #181d7c; $custom-light: #685aa3; $custom-dark: #000000;
JSON
{
"hex": "#181d7c",
"rgb": {
"r": 24,
"g": 29,
"b": 124
},
"hsl": {
"h": 237,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.30755,
"c": 0.15548,
"h": 270.6
},
"luminance": 0.02528
}Semantic roles & 50–950 ramp
primary
#181D7C
secondary
#B1AB3F
accent
#E23DEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F