#182281#182281
#182281 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.157 H 269.6°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #182281 |
|---|---|
| RGB | rgb(24, 34, 129) |
| HSL | hsl(234, 69%, 30%) |
| HSV | hsv(234, 81%, 51%) |
| CMYK | cmyk(81.4%, 73.6%, 0%, 49.4%) |
| CIE-LAB | lab(19.73, 32.20, -54.08) |
| CIE-LCH | lch(19.73, 62.94, 300.77°) |
| OKLab | oklab(32.13% -0.0012 -0.1566) |
| OKLCH | oklch(32.13% 0.157 269.6) |
| XYZ | xyz(4.9098, 2.9227, 21.0700) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.29
Royal
#0C1793
ΔE00 3.95
Dark Royal Blue
#02066F
ΔE00 6.53
Darkblue
#00008B
ΔE00 6.68
Navy
#000080
ΔE00 6.80
Cobalt Blue
#030AA7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182281 #817718
analogous
#185681 #182281 #431881
triadic
#182281 #811822 #228118
tetradic
#182281 #811856 #817718 #188143
square
#182281 #811856 #817718 #188143
split-complementary
#182281 #814318 #568118
monochromatic
#05071A #0E144D #182281 #2230B5 #3949DA
Accessibility & contrast
On white
13.25
#182281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#182281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182281
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182281 | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #182281; /* rgb */ color: rgb(24, 34, 129); /* oklch */ color: oklch(32.1% 0.157 269.6);
Tailwind
colors: {
custom: {
50: '#695da7',
500: '#182281',
950: '#000000',
},
}SCSS
$custom: #182281; $custom-light: #695da7; $custom-dark: #000000;
JSON
{
"hex": "#182281",
"rgb": {
"r": 24,
"g": 34,
"b": 129
},
"hsl": {
"h": 234.286,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.32128,
"c": 0.15663,
"h": 269.6
},
"luminance": 0.02923
}Semantic roles & 50–950 ramp
primary
#182281
secondary
#B5AA40
accent
#DB3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F