#231E94#231E94
#231E94 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.182 H 273.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #231E94 |
|---|---|
| RGB | rgb(35, 30, 148) |
| HSL | hsl(243, 66%, 35%) |
| HSV | hsv(243, 80%, 58%) |
| CMYK | cmyk(76.4%, 79.7%, 0%, 42%) |
| CIE-LAB | lab(21.67, 42.13, -62.74) |
| CIE-LCH | lch(21.67, 75.57, 303.88°) |
| OKLab | oklab(34.3% 0.0097 -0.1815) |
| OKLCH | oklch(34.3% 0.182 273.1) |
| XYZ | xyz(6.5009, 3.4233, 28.3294) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.95
Cobalt Blue
#030AA7
ΔE00 3.98
Royal Blue (survey)
#0504AA
ΔE00 4.54
Indigo Blue
#3A18B1
ΔE00 4.90
Ultramarine
#2000B1
ΔE00 5.14
Darkblue
#00008B
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231E94 #8F941E
analogous
#1E5494 #231E94 #5E1E94
triadic
#231E94 #94231E #1E9423
tetradic
#231E94 #941E54 #8F941E #1E945E
square
#231E94 #941E54 #8F941E #1E945E
split-complementary
#231E94 #945E1E #54941E
monochromatic
#0B092E #171461 #231E94 #2F28C7 #5751DC
Accessibility & contrast
On white
12.46
#231E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#231E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231E94
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231E94 | 1.00 | 12.46 | 1.68 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #231e94; /* rgb */ color: rgb(35, 30, 148); /* oklch */ color: oklch(34.3% 0.182 273.1);
Tailwind
colors: {
custom: {
50: '#725db5',
500: '#231e94',
950: '#000000',
},
}SCSS
$custom: #231e94; $custom-light: #725db5; $custom-dark: #000000;
JSON
{
"hex": "#231e94",
"rgb": {
"r": 35,
"g": 30,
"b": 148
},
"hsl": {
"h": 242.542,
"s": 66.292,
"l": 34.902
},
"oklch": {
"l": 0.34301,
"c": 0.1818,
"h": 273.1
},
"luminance": 0.03424
}Semantic roles & 50–950 ramp
primary
#231E94
secondary
#BABF4F
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980