#231A8A#231A8A
#231A8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.173 H 274.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #231A8A |
|---|---|
| RGB | rgb(35, 26, 138) |
| HSL | hsl(245, 68%, 32%) |
| HSV | hsv(245, 81%, 54%) |
| CMYK | cmyk(74.6%, 81.2%, 0%, 45.9%) |
| CIE-LAB | lab(19.76, 40.97, -59.67) |
| CIE-LCH | lch(19.76, 72.38, 304.47°) |
| OKLab | oklab(32.63% 0.0137 -0.1726) |
| OKLCH | oklch(32.63% 0.173 274.6) |
| XYZ | xyz(5.6485, 2.9305, 24.3078) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.94
Midnight Blue
#191970
ΔE00 4.24
Darkblue
#00008B
ΔE00 4.42
Cobalt Blue
#030AA7
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 4.75
Navy
#000080
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231A8A #818A1A
analogous
#1A498A #231A8A #5B1A8A
triadic
#231A8A #8A231A #1A8A23
tetradic
#231A8A #8A1A49 #818A1A #1A8A5B
square
#231A8A #8A1A49 #818A1A #1A8A5B
split-complementary
#231A8A #8A5B1A #498A1A
monochromatic
#090723 #161057 #231A8A #3024BD #4F43DC
Accessibility & contrast
On white
13.24
#231A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#231A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231A8A
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231A8A | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #231a8a; /* rgb */ color: rgb(35, 26, 138); /* oklch */ color: oklch(32.6% 0.173 274.6);
Tailwind
colors: {
custom: {
50: '#705aad',
500: '#231a8a',
950: '#000000',
},
}SCSS
$custom: #231a8a; $custom-light: #705aad; $custom-dark: #000000;
JSON
{
"hex": "#231a8a",
"rgb": {
"r": 35,
"g": 26,
"b": 138
},
"hsl": {
"h": 244.821,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.3263,
"c": 0.17311,
"h": 274.6
},
"luminance": 0.02931
}Semantic roles & 50–950 ramp
primary
#231A8A
secondary
#B3BD43
accent
#EB3DDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F