#182285#182285
#182285 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.162 H 269.4°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #182285 |
|---|---|
| RGB | rgb(24, 34, 133) |
| HSL | hsl(234, 69%, 31%) |
| HSV | hsv(234, 82%, 52%) |
| CMYK | cmyk(82%, 74.4%, 0%, 47.8%) |
| CIE-LAB | lab(20.17, 33.68, -55.88) |
| CIE-LCH | lch(20.17, 65.25, 301.08°) |
| OKLab | oklab(32.57% -0.0018 -0.1619) |
| OKLCH | oklch(32.57% 0.162 269.4) |
| XYZ | xyz(5.1809, 3.0311, 22.4978) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.46
Midnight Blue
#191970
ΔE00 3.73
Cobalt Blue
#030AA7
ΔE00 6.41
Darkblue
#00008B
ΔE00 6.43
Dark Royal Blue
#02066F
ΔE00 6.67
Navy
#000080
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182285 #857B18
analogous
#185885 #182285 #441885
triadic
#182285 #851822 #228518
tetradic
#182285 #851858 #857B18 #188544
square
#182285 #851858 #857B18 #188544
split-complementary
#182285 #854418 #588518
monochromatic
#05071D #0F1551 #182285 #212FB9 #3C4ADC
Accessibility & contrast
On white
13.07
#182285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#182285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182285
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182285 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #182285; /* rgb */ color: rgb(24, 34, 133); /* oklch */ color: oklch(32.6% 0.162 269.4);
Tailwind
colors: {
custom: {
50: '#6a5eaa',
500: '#182285',
950: '#000000',
},
}SCSS
$custom: #182285; $custom-light: #6a5eaa; $custom-dark: #000000;
JSON
{
"hex": "#182285",
"rgb": {
"r": 24,
"g": 34,
"b": 133
},
"hsl": {
"h": 234.495,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.32572,
"c": 0.16189,
"h": 269.4
},
"luminance": 0.03032
}Semantic roles & 50–950 ramp
primary
#182285
secondary
#B9AE40
accent
#DC3CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F