#231180#231180
#231180 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.168 H 276.9°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #231180 |
|---|---|
| RGB | rgb(35, 17, 128) |
| HSL | hsl(250, 77%, 28%) |
| HSV | hsv(250, 87%, 50%) |
| CMYK | cmyk(72.7%, 86.7%, 0%, 49.8%) |
| CIE-LAB | lab(17.07, 42.14, -57.83) |
| CIE-LCH | lch(17.07, 71.55, 306.08°) |
| OKLab | oklab(30.41% 0.0202 -0.1671) |
| OKLCH | oklch(30.41% 0.168 276.9) |
| XYZ | xyz(4.7886, 2.3163, 20.6126) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.29
Navy
#000080
ΔE00 3.32
Darkblue
#00008B
ΔE00 3.36
Indigo (survey)
#380282
ΔE00 3.39
Midnight Blue
#191970
ΔE00 3.65
Deep Blue
#040273
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231180 #6E8011
analogous
#113680 #231180 #5A1180
triadic
#231180 #802311 #118023
tetradic
#231180 #801136 #6E8011 #11805A
square
#231180 #801136 #6E8011 #11805A
split-complementary
#231180 #805A11 #368011
monochromatic
#07041B #140A4A #231180 #3218B6 #4729E3
Accessibility & contrast
On white
14.35
#231180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#231180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231180
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231180 | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #231180; /* rgb */ color: rgb(35, 17, 128); /* oklch */ color: oklch(30.4% 0.168 276.9);
Tailwind
colors: {
custom: {
50: '#6e54a6',
500: '#231180',
950: '#000000',
},
}SCSS
$custom: #231180; $custom-light: #6e54a6; $custom-dark: #000000;
JSON
{
"hex": "#231180",
"rgb": {
"r": 35,
"g": 17,
"b": 128
},
"hsl": {
"h": 249.73,
"s": 76.552,
"l": 28.431
},
"oklch": {
"l": 0.30411,
"c": 0.16829,
"h": 276.9
},
"luminance": 0.02317
}Semantic roles & 50–950 ramp
primary
#231180
secondary
#A1B637
accent
#F335D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F