#231E99#231E99
#231E99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.188 H 272.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #231E99 |
|---|---|
| RGB | rgb(35, 30, 153) |
| HSL | hsl(242, 67%, 36%) |
| HSV | hsv(242, 80%, 60%) |
| CMYK | cmyk(77.1%, 80.4%, 0%, 40%) |
| CIE-LAB | lab(22.25, 43.77, -64.86) |
| CIE-LCH | lch(22.25, 78.24, 304.01°) |
| OKLab | oklab(34.88% 0.0086 -0.1877) |
| OKLCH | oklch(34.88% 0.188 272.6) |
| XYZ | xyz(6.9053, 3.5850, 30.4589) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.16
Cobalt Blue
#030AA7
ΔE00 3.59
Royal Blue (survey)
#0504AA
ΔE00 4.14
Indigo Blue
#3A18B1
ΔE00 4.28
Ultramarine
#2000B1
ΔE00 4.62
Darkblue
#00008B
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231E99 #94991E
analogous
#1E5699 #231E99 #601E99
triadic
#231E99 #99231E #1E9923
tetradic
#231E99 #991E56 #94991E #1E9960
square
#231E99 #991E56 #94991E #1E9960
split-complementary
#231E99 #99601E #56991E
monochromatic
#0C0A33 #171466 #231E99 #2F28CC #5A54DD
Accessibility & contrast
On white
12.23
#231E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#231E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231E99
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231E99 | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #231e99; /* rgb */ color: rgb(35, 30, 153); /* oklch */ color: oklch(34.9% 0.188 272.6);
Tailwind
colors: {
custom: {
50: '#745db8',
500: '#231e99',
950: '#000000',
},
}SCSS
$custom: #231e99; $custom-light: #745db8; $custom-dark: #000000;
JSON
{
"hex": "#231e99",
"rgb": {
"r": 35,
"g": 30,
"b": 153
},
"hsl": {
"h": 242.439,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.3488,
"c": 0.18787,
"h": 272.6
},
"luminance": 0.03586
}Semantic roles & 50–950 ramp
primary
#231E99
secondary
#BCC152
accent
#EA3EE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981