#182286#182286
#182286 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.163 H 269.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #182286 |
|---|---|
| RGB | rgb(24, 34, 134) |
| HSL | hsl(235, 70%, 31%) |
| HSV | hsv(235, 82%, 53%) |
| CMYK | cmyk(82.1%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(20.28, 34.05, -56.33) |
| CIE-LCH | lch(20.28, 65.82, 301.15°) |
| OKLab | oklab(32.68% -0.0019 -0.1632) |
| OKLCH | oklch(32.68% 0.163 269.3) |
| XYZ | xyz(5.2503, 3.0589, 22.8633) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Midnight Blue
#191970
ΔE00 3.85
Cobalt Blue
#030AA7
ΔE00 6.28
Darkblue
#00008B
ΔE00 6.38
Navy
#000080
ΔE00 6.67
Dark Royal Blue
#02066F
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182286 #867C18
analogous
#185986 #182286 #451886
triadic
#182286 #861822 #228618
tetradic
#182286 #861859 #867C18 #188645
square
#182286 #861859 #867C18 #188645
split-complementary
#182286 #864518 #598618
monochromatic
#05081E #0F1552 #182286 #212FBA #3C4BDC
Accessibility & contrast
On white
13.03
#182286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#182286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182286
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182286 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #182286; /* rgb */ color: rgb(24, 34, 134); /* oklch */ color: oklch(32.7% 0.163 269.3);
Tailwind
colors: {
custom: {
50: '#6b5eaa',
500: '#182286',
950: '#000000',
},
}SCSS
$custom: #182286; $custom-light: #6b5eaa; $custom-dark: #000000;
JSON
{
"hex": "#182286",
"rgb": {
"r": 24,
"g": 34,
"b": 134
},
"hsl": {
"h": 234.545,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.32683,
"c": 0.16319,
"h": 269.3
},
"luminance": 0.03059
}Semantic roles & 50–950 ramp
primary
#182286
secondary
#BAAF40
accent
#DC3BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F