#231380#231380
#231380 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.167 H 276.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #231380 |
|---|---|
| RGB | rgb(35, 19, 128) |
| HSL | hsl(249, 74%, 29%) |
| HSV | hsv(249, 85%, 50%) |
| CMYK | cmyk(72.7%, 85.2%, 0%, 49.8%) |
| CIE-LAB | lab(17.37, 41.24, -57.32) |
| CIE-LCH | lch(17.37, 70.61, 305.73°) |
| OKLab | oklab(30.62% 0.0195 -0.1656) |
| OKLCH | oklch(30.62% 0.167 276.7) |
| XYZ | xyz(4.8210, 2.3811, 20.6234) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.18
Midnight Blue
#191970
ΔE00 3.42
Navy
#000080
ΔE00 3.60
Darkblue
#00008B
ΔE00 3.62
Indigo (survey)
#380282
ΔE00 3.64
Deep Blue
#040273
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231380 #708013
analogous
#133A80 #231380 #5A1380
triadic
#231380 #802313 #138023
tetradic
#231380 #80133A #708013 #13805A
square
#231380 #80133A #708013 #13805A
split-complementary
#231380 #805A13 #3A8013
monochromatic
#07041B #140B4B #231380 #321BB5 #482DE0
Accessibility & contrast
On white
14.22
#231380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#231380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231380
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231380 | 1.00 | 14.22 | 1.48 | 14.22 |
| #FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #231380; /* rgb */ color: rgb(35, 19, 128); /* oklch */ color: oklch(30.6% 0.167 276.7);
Tailwind
colors: {
custom: {
50: '#6e55a6',
500: '#231380',
950: '#000000',
},
}SCSS
$custom: #231380; $custom-light: #6e55a6; $custom-dark: #000000;
JSON
{
"hex": "#231380",
"rgb": {
"r": 35,
"g": 19,
"b": 128
},
"hsl": {
"h": 248.807,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.30621,
"c": 0.16678,
"h": 276.7
},
"luminance": 0.02382
}Semantic roles & 50–950 ramp
primary
#231380
secondary
#A3B539
accent
#F137D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F