#231381#231381
#231381 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.168 H 276.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #231381 |
|---|---|
| RGB | rgb(35, 19, 129) |
| HSL | hsl(249, 74%, 29%) |
| HSV | hsv(249, 85%, 51%) |
| CMYK | cmyk(72.9%, 85.3%, 0%, 49.4%) |
| CIE-LAB | lab(17.50, 41.55, -57.75) |
| CIE-LCH | lch(17.50, 71.15, 305.73°) |
| OKLab | oklab(30.74% 0.0191 -0.1669) |
| OKLCH | oklch(30.74% 0.168 276.5) |
| XYZ | xyz(4.8872, 2.4076, 20.9718) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.05
Midnight Blue
#191970
ΔE00 3.54
Darkblue
#00008B
ΔE00 3.55
Navy
#000080
ΔE00 3.60
Indigo (survey)
#380282
ΔE00 3.62
Deep Blue
#040273
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231381 #718113
analogous
#133A81 #231381 #5A1381
triadic
#231381 #812313 #138123
tetradic
#231381 #81133A #718113 #13815A
square
#231381 #81133A #718113 #13815A
split-complementary
#231381 #815A13 #3A8113
monochromatic
#07041B #150B4C #231381 #311BB6 #482EE0
Accessibility & contrast
On white
14.17
#231381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#231381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231381
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231381 | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #231381; /* rgb */ color: rgb(35, 19, 129); /* oklch */ color: oklch(30.7% 0.168 276.5);
Tailwind
colors: {
custom: {
50: '#6f55a7',
500: '#231381',
950: '#000000',
},
}SCSS
$custom: #231381; $custom-light: #6f55a7; $custom-dark: #000000;
JSON
{
"hex": "#231381",
"rgb": {
"r": 35,
"g": 19,
"b": 129
},
"hsl": {
"h": 248.727,
"s": 74.324,
"l": 29.02
},
"oklch": {
"l": 0.30742,
"c": 0.16798,
"h": 276.5
},
"luminance": 0.02408
}Semantic roles & 50–950 ramp
primary
#231381
secondary
#A4B63A
accent
#F137D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F