#231C97#231C97
#231C97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.187 H 273.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #231C97 |
|---|---|
| RGB | rgb(35, 28, 151) |
| HSL | hsl(243, 69%, 35%) |
| HSV | hsv(243, 81%, 59%) |
| CMYK | cmyk(76.8%, 81.5%, 0%, 40.8%) |
| CIE-LAB | lab(21.66, 44.15, -64.60) |
| CIE-LCH | lch(21.66, 78.25, 304.35°) |
| OKLab | oklab(34.4% 0.0097 -0.1869) |
| OKLCH | oklch(34.4% 0.187 273) |
| XYZ | xyz(6.6924, 3.4215, 29.5799) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.83
Cobalt Blue
#030AA7
ΔE00 3.41
Royal Blue (survey)
#0504AA
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.44
Ultramarine
#2000B1
ΔE00 4.53
Darkblue
#00008B
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C97 #90971C
analogous
#1C5297 #231C97 #611C97
triadic
#231C97 #97231C #1C9723
tetradic
#231C97 #971C52 #90971C #1C9761
square
#231C97 #971C52 #90971C #1C9761
split-complementary
#231C97 #97611C #52971C
monochromatic
#0B0930 #171263 #231C97 #2F26CB #574FDE
Accessibility & contrast
On white
12.47
#231C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#231C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C97
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C97 | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002E95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #231c97; /* rgb */ color: rgb(35, 28, 151); /* oklch */ color: oklch(34.4% 0.187 273.0);
Tailwind
colors: {
custom: {
50: '#735cb7',
500: '#231c97',
950: '#000000',
},
}SCSS
$custom: #231c97; $custom-light: #735cb7; $custom-dark: #000000;
JSON
{
"hex": "#231c97",
"rgb": {
"r": 35,
"g": 28,
"b": 151
},
"hsl": {
"h": 243.415,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.34399,
"c": 0.18717,
"h": 273
},
"luminance": 0.03422
}Semantic roles & 50–950 ramp
primary
#231C97
secondary
#BAC14E
accent
#EC3CE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980