#231A9E#231A9E
#231A9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.197 H 272.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #231A9E |
|---|---|
| RGB | rgb(35, 26, 158) |
| HSL | hsl(244, 72%, 36%) |
| HSV | hsv(244, 84%, 62%) |
| CMYK | cmyk(77.8%, 83.5%, 0%, 38%) |
| CIE-LAB | lab(22.17, 47.33, -68.05) |
| CIE-LCH | lch(22.17, 82.89, 304.82°) |
| OKLab | oklab(35% 0.0086 -0.1969) |
| OKLCH | oklch(35% 0.197 272.5) |
| XYZ | xyz(7.2320, 3.5640, 32.6479) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.30
Cobalt Blue
#030AA7
ΔE00 2.68
Royal Blue (survey)
#0504AA
ΔE00 3.18
Ultramarine
#2000B1
ΔE00 3.57
Indigo Blue
#3A18B1
ΔE00 3.58
Darkblue
#00008B
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231A9E #959E1A
analogous
#1A539E #231A9E #651A9E
triadic
#231A9E #9E231A #1A9E23
tetradic
#231A9E #9E1A53 #959E1A #1A9E65
square
#231A9E #9E1A53 #959E1A #1A9E65
split-complementary
#231A9E #9E651A #539E1A
monochromatic
#0C0935 #171169 #231A9E #2F23D3 #5A50E2
Accessibility & contrast
On white
12.26
#231A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#231A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231A9E
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231A9E | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #231a9e; /* rgb */ color: rgb(35, 26, 158); /* oklch */ color: oklch(35.0% 0.197 272.5);
Tailwind
colors: {
custom: {
50: '#755bbc',
500: '#231a9e',
950: '#000000',
},
}SCSS
$custom: #231a9e; $custom-light: #755bbc; $custom-dark: #000000;
JSON
{
"hex": "#231a9e",
"rgb": {
"r": 35,
"g": 26,
"b": 158
},
"hsl": {
"h": 244.091,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.35002,
"c": 0.19705,
"h": 272.5
},
"luminance": 0.03565
}Semantic roles & 50–950 ramp
primary
#231A9E
secondary
#BDC54F
accent
#EE39E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981