#231D9F#231D9F
#231D9F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.196 H 272.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #231D9F |
|---|---|
| RGB | rgb(35, 29, 159) |
| HSL | hsl(243, 69%, 37%) |
| HSV | hsv(243, 82%, 62%) |
| CMYK | cmyk(78%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(22.79, 46.20, -67.64) |
| CIE-LCH | lch(22.79, 81.91, 304.34°) |
| OKLab | oklab(35.46% 0.0075 -0.1957) |
| OKLCH | oklch(35.46% 0.196 272.2) |
| XYZ | xyz(7.3884, 3.7385, 33.1264) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.58
Cobalt Blue
#030AA7
ΔE00 3.12
Indigo Blue
#3A18B1
ΔE00 3.55
Royal Blue (survey)
#0504AA
ΔE00 3.62
Ultramarine
#2000B1
ΔE00 3.94
True Blue
#010FCC
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231D9F #999F1D
analogous
#1D589F #231D9F #641D9F
triadic
#231D9F #9F231D #1D9F23
tetradic
#231D9F #9F1D58 #999F1D #1D9F64
square
#231D9F #9F1D58 #999F1D #1D9F64
split-complementary
#231D9F #9F641D #589F1D
monochromatic
#0C0A37 #18146B #231D9F #2E26D3 #5D56E0
Accessibility & contrast
On white
12.02
#231D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#231D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231D9F
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231D9F | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #231d9f; /* rgb */ color: rgb(35, 29, 159); /* oklch */ color: oklch(35.5% 0.196 272.2);
Tailwind
colors: {
custom: {
50: '#755dbd',
500: '#231d9f',
950: '#000000',
},
}SCSS
$custom: #231d9f; $custom-light: #755dbd; $custom-dark: #000000;
JSON
{
"hex": "#231d9f",
"rgb": {
"r": 35,
"g": 29,
"b": 159
},
"hsl": {
"h": 242.769,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.35462,
"c": 0.19588,
"h": 272.2
},
"luminance": 0.03739
}Semantic roles & 50–950 ramp
primary
#231D9F
secondary
#BEC454
accent
#EC3CE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981