#231790#231790
#231790 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.183 H 274.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #231790 |
|---|---|
| RGB | rgb(35, 23, 144) |
| HSL | hsl(246, 72%, 33%) |
| HSV | hsv(246, 84%, 56%) |
| CMYK | cmyk(75.7%, 84%, 0%, 43.5%) |
| CIE-LAB | lab(19.98, 44.37, -63.06) |
| CIE-LCH | lch(19.98, 77.10, 305.13°) |
| OKLab | oklab(32.99% 0.0132 -0.1824) |
| OKLCH | oklch(32.99% 0.183 274.1) |
| XYZ | xyz(6.0319, 2.9831, 26.6381) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.52
Cobalt Blue
#030AA7
ΔE00 3.52
Darkblue
#00008B
ΔE00 3.94
Royal Blue (survey)
#0504AA
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 4.50
Navy
#000080
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231790 #849017
analogous
#174890 #231790 #5F1790
triadic
#231790 #902317 #179023
tetradic
#231790 #901748 #849017 #17905F
square
#231790 #901748 #849017 #17905F
split-complementary
#231790 #905F17 #489017
monochromatic
#090626 #160F5B #231790 #301FC5 #5141E1
Accessibility & contrast
On white
13.15
#231790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#231790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231790
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231790 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002B8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #231790; /* rgb */ color: rgb(35, 23, 144); /* oklch */ color: oklch(33.0% 0.183 274.1);
Tailwind
colors: {
custom: {
50: '#7258b2',
500: '#231790',
950: '#000000',
},
}SCSS
$custom: #231790; $custom-light: #7258b2; $custom-dark: #000000;
JSON
{
"hex": "#231790",
"rgb": {
"r": 35,
"g": 23,
"b": 144
},
"hsl": {
"h": 245.95,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.32987,
"c": 0.18283,
"h": 274.1
},
"luminance": 0.02984
}Semantic roles & 50–950 ramp
primary
#231790
secondary
#B4C142
accent
#EF39DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980