#231E9A#231E9A
#231E9A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.189 H 272.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #231E9A |
|---|---|
| RGB | rgb(35, 30, 154) |
| HSL | hsl(242, 67%, 36%) |
| HSV | hsv(242, 81%, 60%) |
| CMYK | cmyk(77.3%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(22.37, 44.09, -65.27) |
| CIE-LCH | lch(22.37, 78.77, 304.04°) |
| OKLab | oklab(35% 0.0083 -0.1889) |
| OKLCH | oklch(35% 0.189 272.5) |
| XYZ | xyz(6.9882, 3.6182, 30.8957) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.23
Cobalt Blue
#030AA7
ΔE00 3.52
Royal Blue (survey)
#0504AA
ΔE00 4.07
Indigo Blue
#3A18B1
ΔE00 4.17
Ultramarine
#2000B1
ΔE00 4.53
Darkblue
#00008B
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231E9A #959A1E
analogous
#1E579A #231E9A #611E9A
triadic
#231E9A #9A231E #1E9A23
tetradic
#231E9A #9A1E57 #959A1E #1E9A61
square
#231E9A #9A1E57 #959A1E #1E9A61
split-complementary
#231E9A #9A611E #579A1E
monochromatic
#0C0A34 #171467 #231E9A #2F28CD #5A55DE
Accessibility & contrast
On white
12.18
#231E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#231E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231E9A
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231E9A | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #231e9a; /* rgb */ color: rgb(35, 30, 154); /* oklch */ color: oklch(35.0% 0.189 272.5);
Tailwind
colors: {
custom: {
50: '#745db9',
500: '#231e9a',
950: '#000000',
},
}SCSS
$custom: #231e9a; $custom-light: #745db9; $custom-dark: #000000;
JSON
{
"hex": "#231e9a",
"rgb": {
"r": 35,
"g": 30,
"b": 154
},
"hsl": {
"h": 242.419,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.34996,
"c": 0.18908,
"h": 272.5
},
"luminance": 0.03619
}Semantic roles & 50–950 ramp
primary
#231E9A
secondary
#BDC153
accent
#EA3EE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981