#231779#231779
#231779 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.155 H 277.3°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #231779 |
|---|---|
| RGB | rgb(35, 23, 121) |
| HSL | hsl(247, 68%, 28%) |
| HSV | hsv(247, 81%, 47%) |
| CMYK | cmyk(71.1%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(17.23, 36.98, -53.09) |
| CIE-LCH | lch(17.23, 64.70, 304.86°) |
| OKLab | oklab(30.28% 0.0197 -0.1534) |
| OKLCH | oklch(30.28% 0.155 277.3) |
| XYZ | xyz(4.4496, 2.3502, 18.3046) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.12
Royal
#0C1793
ΔE00 4.08
Dark Royal Blue
#02066F
ΔE00 4.09
Deep Blue
#040273
ΔE00 4.37
Navy
#000080
ΔE00 4.53
Indigo (survey)
#380282
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231779 #6D7917
analogous
#173C79 #231779 #541779
triadic
#231779 #792317 #177923
tetradic
#231779 #79173C #6D7917 #177954
square
#231779 #79173C #6D7917 #177954
split-complementary
#231779 #795417 #3C7917
monochromatic
#07051A #140D46 #231779 #3221AC #4732D8
Accessibility & contrast
On white
14.28
#231779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#231779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231779
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231779 | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #231779; /* rgb */ color: rgb(35, 23, 121); /* oklch */ color: oklch(30.3% 0.155 277.3);
Tailwind
colors: {
custom: {
50: '#6c57a1',
500: '#231779',
950: '#000000',
},
}SCSS
$custom: #231779; $custom-light: #6c57a1; $custom-dark: #000000;
JSON
{
"hex": "#231779",
"rgb": {
"r": 35,
"g": 23,
"b": 121
},
"hsl": {
"h": 247.347,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.30276,
"c": 0.15468,
"h": 277.3
},
"luminance": 0.02351
}Semantic roles & 50–950 ramp
primary
#231779
secondary
#A0AE3E
accent
#EB3DD6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F