#182078#182078
#182078 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.147 H 270.3°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #182078 |
|---|---|
| RGB | rgb(24, 32, 120) |
| HSL | hsl(235, 67%, 28%) |
| HSV | hsv(235, 80%, 47%) |
| CMYK | cmyk(80%, 73.3%, 0%, 52.9%) |
| CIE-LAB | lab(18.29, 30.12, -50.73) |
| CIE-LCH | lch(18.29, 58.99, 300.70°) |
| OKLab | oklab(30.8% 0.0009 -0.1469) |
| OKLCH | oklch(30.8% 0.147 270.3) |
| XYZ | xyz(4.2822, 2.5828, 18.0385) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.14
Royal
#0C1793
ΔE00 4.86
Dark Royal Blue
#02066F
ΔE00 5.90
Darkblue (survey)
#030764
ΔE00 6.26
Deep Blue
#040273
ΔE00 6.48
Navy
#000080
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182078 #787018
analogous
#185078 #182078 #401878
triadic
#182078 #781820 #207818
tetradic
#182078 #781850 #787018 #187840
square
#182078 #781850 #787018 #187840
split-complementary
#182078 #784018 #507818
monochromatic
#05071A #0E1245 #182078 #222EAB #3442D6
Accessibility & contrast
On white
13.85
#182078 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#182078 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182078
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182078 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182078 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #182078; /* rgb */ color: rgb(24, 32, 120); /* oklch */ color: oklch(30.8% 0.147 270.3);
Tailwind
colors: {
custom: {
50: '#675ca0',
500: '#182078',
950: '#000000',
},
}SCSS
$custom: #182078; $custom-light: #675ca0; $custom-dark: #000000;
JSON
{
"hex": "#182078",
"rgb": {
"r": 24,
"g": 32,
"b": 120
},
"hsl": {
"h": 235,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.30799,
"c": 0.14686,
"h": 270.3
},
"luminance": 0.02583
}Semantic roles & 50–950 ramp
primary
#182078
secondary
#ADA43F
accent
#DB3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E