#231B79#231B79
#231B79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.151 H 276.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #231B79 |
|---|---|
| RGB | rgb(35, 27, 121) |
| HSL | hsl(245, 64%, 29%) |
| HSV | hsv(245, 78%, 47%) |
| CMYK | cmyk(71.1%, 77.7%, 0%, 52.5%) |
| CIE-LAB | lab(18.01, 34.74, -51.79) |
| CIE-LCH | lch(18.01, 62.36, 303.85°) |
| OKLab | oklab(30.83% 0.0175 -0.1497) |
| OKLCH | oklch(30.83% 0.151 276.7) |
| XYZ | xyz(4.5351, 2.5213, 18.3331) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.81
Royal
#0C1793
ΔE00 4.22
Dark Royal Blue
#02066F
ΔE00 4.81
Deep Blue
#040273
ΔE00 5.19
Indigo (survey)
#380282
ΔE00 5.36
Navy
#000080
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B79 #71791B
analogous
#1B4279 #231B79 #521B79
triadic
#231B79 #79231B #1B7923
tetradic
#231B79 #791B42 #71791B #1B7952
square
#231B79 #791B42 #71791B #1B7952
split-complementary
#231B79 #79521B #42791B
monochromatic
#070619 #151047 #231B79 #3126AB #483BD3
Accessibility & contrast
On white
13.96
#231B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#231B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B79
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B79 | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #231b79; /* rgb */ color: rgb(35, 27, 121); /* oklch */ color: oklch(30.8% 0.151 276.7);
Tailwind
colors: {
custom: {
50: '#6c59a1',
500: '#231b79',
950: '#000000',
},
}SCSS
$custom: #231b79; $custom-light: #6c59a1; $custom-dark: #000000;
JSON
{
"hex": "#231b79",
"rgb": {
"r": 35,
"g": 27,
"b": 121
},
"hsl": {
"h": 245.106,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.30829,
"c": 0.15068,
"h": 276.7
},
"luminance": 0.02522
}Semantic roles & 50–950 ramp
primary
#231B79
secondary
#A4AD43
accent
#E741D8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F