#231280#231280
#231280 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.5% C 0.168 H 276.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #231280 |
|---|---|
| RGB | rgb(35, 18, 128) |
| HSL | hsl(249, 75%, 29%) |
| HSV | hsv(249, 86%, 50%) |
| CMYK | cmyk(72.7%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(17.22, 41.70, -57.58) |
| CIE-LCH | lch(17.22, 71.09, 305.91°) |
| OKLab | oklab(30.51% 0.0198 -0.1664) |
| OKLCH | oklch(30.51% 0.168 276.8) |
| XYZ | xyz(4.8045, 2.3480, 20.6179) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.23
Navy
#000080
ΔE00 3.46
Darkblue
#00008B
ΔE00 3.48
Indigo (survey)
#380282
ΔE00 3.51
Midnight Blue
#191970
ΔE00 3.54
Deep Blue
#040273
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231280 #6F8012
analogous
#123880 #231280 #5A1280
triadic
#231280 #802312 #128023
tetradic
#231280 #801238 #6F8012 #12805A
square
#231280 #801238 #6F8012 #12805A
split-complementary
#231280 #805A12 #388012
monochromatic
#07041B #140A4A #231280 #321AB6 #472BE1
Accessibility & contrast
On white
14.29
#231280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#231280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231280
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231280 | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #231280; /* rgb */ color: rgb(35, 18, 128); /* oklch */ color: oklch(30.5% 0.168 276.8);
Tailwind
colors: {
custom: {
50: '#6e55a6',
500: '#231280',
950: '#000000',
},
}SCSS
$custom: #231280; $custom-light: #6e55a6; $custom-dark: #000000;
JSON
{
"hex": "#231280",
"rgb": {
"r": 35,
"g": 18,
"b": 128
},
"hsl": {
"h": 249.273,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.30514,
"c": 0.16755,
"h": 276.8
},
"luminance": 0.02348
}Semantic roles & 50–950 ramp
primary
#231280
secondary
#A2B638
accent
#F236D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F