#181A7B#181A7B
#181A7B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.157 H 271.1°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #181A7B |
|---|---|
| RGB | rgb(24, 26, 123) |
| HSL | hsl(239, 67%, 29%) |
| HSV | hsv(239, 80%, 48%) |
| CMYK | cmyk(80.5%, 78.9%, 0%, 51.8%) |
| CIE-LAB | lab(17.29, 34.97, -54.30) |
| CIE-LCH | lch(17.29, 64.58, 302.78°) |
| OKLab | oklab(30.18% 0.0031 -0.1572) |
| OKLCH | oklch(30.18% 0.157 271.1) |
| XYZ | xyz(4.3200, 2.3626, 18.9634) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.77
Royal
#0C1793
ΔE00 3.65
Dark Royal Blue
#02066F
ΔE00 4.40
Deep Blue
#040273
ΔE00 4.83
Navy
#000080
ΔE00 4.90
Darkblue
#00008B
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181A7B #7B7918
analogous
#184C7B #181A7B #48187B
triadic
#181A7B #7B181A #1A7B18
tetradic
#181A7B #7B184C #7B7918 #187B48
square
#181A7B #7B184C #7B7918 #187B48
split-complementary
#181A7B #7B4818 #4C7B18
monochromatic
#05051A #0E0F48 #181A7B #2225AE #3639D8
Accessibility & contrast
On white
14.26
#181A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#181A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181A7B
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181A7B | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181a7b; /* rgb */ color: rgb(24, 26, 123); /* oklch */ color: oklch(30.2% 0.157 271.1);
Tailwind
colors: {
custom: {
50: '#6858a2',
500: '#181a7b',
950: '#000000',
},
}SCSS
$custom: #181a7b; $custom-light: #6858a2; $custom-dark: #000000;
JSON
{
"hex": "#181a7b",
"rgb": {
"r": 24,
"g": 26,
"b": 123
},
"hsl": {
"h": 238.788,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.30184,
"c": 0.15726,
"h": 271.1
},
"luminance": 0.02363
}Semantic roles & 50–950 ramp
primary
#181A7B
secondary
#B0AD3F
accent
#E73EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F