#181995#181995
#181995 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.190 H 269.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #181995 |
|---|---|
| RGB | rgb(24, 25, 149) |
| HSL | hsl(240, 72%, 34%) |
| HSV | hsv(240, 84%, 58%) |
| CMYK | cmyk(83.9%, 83.2%, 0%, 41.6%) |
| CIE-LAB | lab(20.28, 44.34, -65.68) |
| CIE-LCH | lch(20.28, 79.24, 304.02°) |
| OKLab | oklab(33.2% -0.0019 -0.1902) |
| OKLCH | oklch(33.2% 0.19 269.4) |
| XYZ | xyz(6.1473, 3.0586, 28.6943) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.79
Cobalt Blue
#030AA7
ΔE00 3.07
Royal Blue (survey)
#0504AA
ΔE00 3.67
Darkblue
#00008B
ΔE00 4.24
Ultramarine
#2000B1
ΔE00 4.58
Indigo Blue
#3A18B1
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181995 #959418
analogous
#185895 #181995 #561895
triadic
#181995 #951819 #199518
tetradic
#181995 #951858 #959418 #189556
square
#181995 #951858 #959418 #189556
split-complementary
#181995 #955618 #589518
monochromatic
#07072C #101060 #181995 #2022CA #4647E1
Accessibility & contrast
On white
13.03
#181995 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#181995 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181995
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181995 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181995 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003798
Deuteranopia (green-blind)
#002A93
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #181995; /* rgb */ color: rgb(24, 25, 149); /* oklch */ color: oklch(33.2% 0.190 269.4);
Tailwind
colors: {
custom: {
50: '#7059b6',
500: '#181995',
950: '#000000',
},
}SCSS
$custom: #181995; $custom-light: #7059b6; $custom-dark: #000000;
JSON
{
"hex": "#181995",
"rgb": {
"r": 24,
"g": 25,
"b": 149
},
"hsl": {
"h": 239.52,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.332,
"c": 0.19019,
"h": 269.4
},
"luminance": 0.03059
}Semantic roles & 50–950 ramp
primary
#181995
secondary
#C2C146
accent
#EE39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980