#182276#182276
#182276 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.142 H 270.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #182276 |
|---|---|
| RGB | rgb(24, 34, 118) |
| HSL | hsl(234, 66%, 28%) |
| HSV | hsv(234, 80%, 46%) |
| CMYK | cmyk(79.7%, 71.2%, 0%, 53.7%) |
| CIE-LAB | lab(18.57, 28.03, -48.99) |
| CIE-LCH | lch(18.57, 56.44, 299.77°) |
| OKLab | oklab(30.94% 0 -0.1418) |
| OKLCH | oklch(30.94% 0.142 270) |
| XYZ | xyz(4.2176, 2.6458, 17.4244) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.63
Royal
#0C1793
ΔE00 5.55
Dark Royal Blue
#02066F
ΔE00 6.53
Darkblue (survey)
#030764
ΔE00 6.74
Deep Blue
#040273
ΔE00 7.17
Navy
#000080
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182276 #766C18
analogous
#185176 #182276 #3D1876
triadic
#182276 #761822 #227618
tetradic
#182276 #761851 #766C18 #18763D
square
#182276 #761851 #766C18 #18763D
split-complementary
#182276 #763D18 #517618
monochromatic
#050719 #0E1343 #182276 #2231A9 #3344D5
Accessibility & contrast
On white
13.73
#182276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#182276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182276
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182276 | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #182276; /* rgb */ color: rgb(24, 34, 118); /* oklch */ color: oklch(30.9% 0.142 270.0);
Tailwind
colors: {
custom: {
50: '#665d9e',
500: '#182276',
950: '#000000',
},
}SCSS
$custom: #182276; $custom-light: #665d9e; $custom-dark: #000000;
JSON
{
"hex": "#182276",
"rgb": {
"r": 24,
"g": 34,
"b": 118
},
"hsl": {
"h": 233.617,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.30936,
"c": 0.14179,
"h": 270
},
"luminance": 0.02646
}Semantic roles & 50–950 ramp
primary
#182276
secondary
#ABA03F
accent
#D73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E