#231D9C#231D9C
#231D9C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.192 H 272.4°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #231D9C |
|---|---|
| RGB | rgb(35, 29, 156) |
| HSL | hsl(243, 69%, 36%) |
| HSV | hsv(243, 81%, 61%) |
| CMYK | cmyk(77.6%, 81.4%, 0%, 38.8%) |
| CIE-LAB | lab(22.43, 45.25, -66.40) |
| CIE-LCH | lch(22.43, 80.35, 304.27°) |
| OKLab | oklab(35.11% 0.0082 -0.1921) |
| OKLCH | oklch(35.11% 0.192 272.4) |
| XYZ | xyz(7.1312, 3.6356, 31.7719) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.29
Cobalt Blue
#030AA7
ΔE00 3.24
Royal Blue (survey)
#0504AA
ΔE00 3.77
Indigo Blue
#3A18B1
ΔE00 3.89
Ultramarine
#2000B1
ΔE00 4.19
Darkblue
#00008B
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231D9C #969C1D
analogous
#1D579C #231D9C #631D9C
triadic
#231D9C #9C231D #1D9C23
tetradic
#231D9C #9C1D57 #969C1D #1D9C63
square
#231D9C #9C1D57 #969C1D #1D9C63
split-complementary
#231D9C #9C631D #579C1D
monochromatic
#0C0A35 #171368 #231D9C #2F27D0 #5B54DF
Accessibility & contrast
On white
12.16
#231D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#231D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231D9C
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231D9C | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#002F9A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #231d9c; /* rgb */ color: rgb(35, 29, 156); /* oklch */ color: oklch(35.1% 0.192 272.4);
Tailwind
colors: {
custom: {
50: '#745cbb',
500: '#231d9c',
950: '#000000',
},
}SCSS
$custom: #231d9c; $custom-light: #745cbb; $custom-dark: #000000;
JSON
{
"hex": "#231d9c",
"rgb": {
"r": 35,
"g": 29,
"b": 156
},
"hsl": {
"h": 242.835,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.35108,
"c": 0.19231,
"h": 272.4
},
"luminance": 0.03636
}Semantic roles & 50–950 ramp
primary
#231D9C
secondary
#BDC252
accent
#EB3CE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981