#231C99#231C99
#231C99 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.190 H 272.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #231C99 |
|---|---|
| RGB | rgb(35, 28, 153) |
| HSL | hsl(243, 69%, 35%) |
| HSV | hsv(243, 82%, 60%) |
| CMYK | cmyk(77.1%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(21.90, 44.79, -65.44) |
| CIE-LCH | lch(21.90, 79.30, 304.39°) |
| OKLab | oklab(34.64% 0.0092 -0.1893) |
| OKLCH | oklch(34.64% 0.19 272.8) |
| XYZ | xyz(6.8562, 3.4870, 30.4425) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Cobalt Blue
#030AA7
ΔE00 3.26
Royal Blue (survey)
#0504AA
ΔE00 3.80
Indigo Blue
#3A18B1
ΔE00 4.20
Ultramarine
#2000B1
ΔE00 4.32
Darkblue
#00008B
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C99 #92991C
analogous
#1C5399 #231C99 #611C99
triadic
#231C99 #99231C #1C9923
tetradic
#231C99 #991C53 #92991C #1C9961
square
#231C99 #991C53 #92991C #1C9961
split-complementary
#231C99 #99611C #53991C
monochromatic
#0B0932 #171365 #231C99 #2F25CD #5850DF
Accessibility & contrast
On white
12.37
#231C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#231C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C99
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C99 | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002E97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #231c99; /* rgb */ color: rgb(35, 28, 153); /* oklch */ color: oklch(34.6% 0.190 272.8);
Tailwind
colors: {
custom: {
50: '#745cb8',
500: '#231c99',
950: '#000000',
},
}SCSS
$custom: #231c99; $custom-light: #745cb8; $custom-dark: #000000;
JSON
{
"hex": "#231c99",
"rgb": {
"r": 35,
"g": 28,
"b": 153
},
"hsl": {
"h": 243.36,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.34635,
"c": 0.18956,
"h": 272.8
},
"luminance": 0.03488
}Semantic roles & 50–950 ramp
primary
#231C99
secondary
#BBC24F
accent
#EC3CE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981