#182278#182278
#182278 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.145 H 269.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #182278 |
|---|---|
| RGB | rgb(24, 34, 120) |
| HSL | hsl(234, 67%, 28%) |
| HSV | hsv(234, 80%, 47%) |
| CMYK | cmyk(80%, 71.7%, 0%, 52.9%) |
| CIE-LAB | lab(18.77, 28.80, -49.93) |
| CIE-LCH | lch(18.77, 57.64, 299.97°) |
| OKLab | oklab(31.15% -0.0002 -0.1445) |
| OKLCH | oklch(31.15% 0.145 269.9) |
| XYZ | xyz(4.3377, 2.6938, 18.0570) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.67
Royal
#0C1793
ΔE00 5.24
Dark Royal Blue
#02066F
ΔE00 6.48
Darkblue (survey)
#030764
ΔE00 6.79
Deep Blue
#040273
ΔE00 7.08
Navy
#000080
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182278 #786E18
analogous
#185278 #182278 #3E1878
triadic
#182278 #781822 #227818
tetradic
#182278 #781852 #786E18 #18783E
square
#182278 #781852 #786E18 #18783E
split-complementary
#182278 #783E18 #527818
monochromatic
#05071A #0E1445 #182278 #2230AB #3445D6
Accessibility & contrast
On white
13.65
#182278 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#182278 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182278
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182278 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182278 | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #182278; /* rgb */ color: rgb(24, 34, 120); /* oklch */ color: oklch(31.1% 0.145 269.9);
Tailwind
colors: {
custom: {
50: '#675da0',
500: '#182278',
950: '#000000',
},
}SCSS
$custom: #182278; $custom-light: #675da0; $custom-dark: #000000;
JSON
{
"hex": "#182278",
"rgb": {
"r": 24,
"g": 34,
"b": 120
},
"hsl": {
"h": 233.75,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.31149,
"c": 0.14454,
"h": 269.9
},
"luminance": 0.02694
}Semantic roles & 50–950 ramp
primary
#182278
secondary
#ADA13F
accent
#D83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E