#182074#182074
#182074 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.141 H 270.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #182074 |
|---|---|
| RGB | rgb(24, 32, 116) |
| HSL | hsl(235, 66%, 27%) |
| HSV | hsv(235, 79%, 45%) |
| CMYK | cmyk(79.3%, 72.4%, 0%, 54.5%) |
| CIE-LAB | lab(17.86, 28.60, -48.86) |
| CIE-LCH | lch(17.86, 56.61, 300.34°) |
| OKLab | oklab(30.36% 0.0014 -0.1414) |
| OKLCH | oklch(30.36% 0.141 270.6) |
| XYZ | xyz(4.0445, 2.4877, 16.7866) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.03
Royal
#0C1793
ΔE00 5.50
Dark Royal Blue
#02066F
ΔE00 5.99
Darkblue (survey)
#030764
ΔE00 6.15
Deep Blue
#040273
ΔE00 6.65
Navy
#000080
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182074 #746C18
analogous
#184E74 #182074 #3E1874
triadic
#182074 #741820 #207418
tetradic
#182074 #74184E #746C18 #18743E
square
#182074 #74184E #746C18 #18743E
split-complementary
#182074 #743E18 #4E7418
monochromatic
#050719 #0E1241 #182074 #222EA7 #3240D5
Accessibility & contrast
On white
14.02
#182074 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#182074 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182074
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182074 | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #182074; /* rgb */ color: rgb(24, 32, 116); /* oklch */ color: oklch(30.4% 0.141 270.6);
Tailwind
colors: {
custom: {
50: '#665c9d',
500: '#182074',
950: '#000000',
},
}SCSS
$custom: #182074; $custom-light: #665c9d; $custom-dark: #000000;
JSON
{
"hex": "#182074",
"rgb": {
"r": 24,
"g": 32,
"b": 116
},
"hsl": {
"h": 234.783,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.30364,
"c": 0.14143,
"h": 270.6
},
"luminance": 0.02488
}Semantic roles & 50–950 ramp
primary
#182074
secondary
#A9A03F
accent
#DA3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E