#181796#181796
#181796 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.193 H 269.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #181796 |
|---|---|
| RGB | rgb(24, 23, 150) |
| HSL | hsl(240, 73%, 34%) |
| HSV | hsv(240, 85%, 59%) |
| CMYK | cmyk(84%, 84.7%, 0%, 41.2%) |
| CIE-LAB | lab(20.08, 45.62, -66.63) |
| CIE-LCH | lch(20.08, 80.75, 304.40°) |
| OKLab | oklab(33.1% -0.0018 -0.1929) |
| OKLCH | oklch(33.1% 0.193 269.5) |
| XYZ | xyz(6.1862, 3.0083, 29.1029) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.82
Cobalt Blue
#030AA7
ΔE00 2.72
Royal Blue (survey)
#0504AA
ΔE00 3.31
Darkblue
#00008B
ΔE00 3.95
Ultramarine
#2000B1
ΔE00 4.25
Navy
#000080
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181796 #959617
analogous
#175696 #181796 #581796
triadic
#181796 #961817 #179618
tetradic
#181796 #961756 #959617 #179658
square
#181796 #961756 #959617 #179658
split-complementary
#181796 #965817 #569617
monochromatic
#07072C #100F61 #181796 #201FCB #4645E2
Accessibility & contrast
On white
13.11
#181796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#181796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181796
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181796 | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003799
Deuteranopia (green-blind)
#002A94
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #181796; /* rgb */ color: rgb(24, 23, 150); /* oklch */ color: oklch(33.1% 0.193 269.5);
Tailwind
colors: {
custom: {
50: '#7058b6',
500: '#181796',
950: '#000000',
},
}SCSS
$custom: #181796; $custom-light: #7058b6; $custom-dark: #000000;
JSON
{
"hex": "#181796",
"rgb": {
"r": 24,
"g": 23,
"b": 150
},
"hsl": {
"h": 240.472,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.33098,
"c": 0.1929,
"h": 269.5
},
"luminance": 0.03009
}Semantic roles & 50–950 ramp
primary
#181796
secondary
#C2C345
accent
#F038EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980