#181E7F#181E7F
#181E7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.158 H 270.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #181E7F |
|---|---|
| RGB | rgb(24, 30, 127) |
| HSL | hsl(237, 68%, 30%) |
| HSV | hsv(237, 81%, 50%) |
| CMYK | cmyk(81.1%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(18.60, 33.98, -54.67) |
| CIE-LCH | lch(18.60, 64.37, 301.87°) |
| OKLab | oklab(31.26% 0.0008 -0.1583) |
| OKLCH | oklch(31.26% 0.158 270.3) |
| XYZ | xyz(4.6704, 2.6545, 20.3408) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.52
Royal
#0C1793
ΔE00 3.48
Dark Royal Blue
#02066F
ΔE00 5.47
Darkblue
#00008B
ΔE00 5.75
Navy
#000080
ΔE00 5.76
Deep Blue
#040273
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181E7F #7F7918
analogous
#18527F #181E7F #46187F
triadic
#181E7F #7F181E #1E7F18
tetradic
#181E7F #7F1852 #7F7918 #187F46
square
#181E7F #7F1852 #7F7918 #187F46
split-complementary
#181E7F #7F4618 #527F18
monochromatic
#05061A #0E124C #181E7F #222AB2 #3841D9
Accessibility & contrast
On white
13.72
#181E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#181E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181E7F
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181E7F | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #181e7f; /* rgb */ color: rgb(24, 30, 127); /* oklch */ color: oklch(31.3% 0.158 270.3);
Tailwind
colors: {
custom: {
50: '#695ba5',
500: '#181e7f',
950: '#000000',
},
}SCSS
$custom: #181e7f; $custom-light: #695ba5; $custom-dark: #000000;
JSON
{
"hex": "#181e7f",
"rgb": {
"r": 24,
"g": 30,
"b": 127
},
"hsl": {
"h": 236.505,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.31255,
"c": 0.15834,
"h": 270.3
},
"luminance": 0.02655
}Semantic roles & 50–950 ramp
primary
#181E7F
secondary
#B3AD3F
accent
#E13DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F