#231D7C#231D7C
#231D7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.152 H 275.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #231D7C |
|---|---|
| RGB | rgb(35, 29, 124) |
| HSL | hsl(244, 62%, 30%) |
| HSV | hsv(244, 77%, 49%) |
| CMYK | cmyk(71.8%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(18.76, 34.59, -52.48) |
| CIE-LCH | lch(18.76, 62.85, 303.39°) |
| OKLab | oklab(31.46% 0.0156 -0.1517) |
| OKLCH | oklch(31.46% 0.152 275.9) |
| XYZ | xyz(4.7694, 2.6909, 19.3329) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.22
Royal
#0C1793
ΔE00 3.93
Dark Royal Blue
#02066F
ΔE00 5.29
Indigo (survey)
#380282
ΔE00 5.63
Deep Blue
#040273
ΔE00 5.65
Navy
#000080
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231D7C #767C1D
analogous
#1D477C #231D7C #521D7C
triadic
#231D7C #7C231D #1D7C23
tetradic
#231D7C #7C1D47 #767C1D #1D7C52
square
#231D7C #7C1D47 #767C1D #1D7C52
split-complementary
#231D7C #7C521D #477C1D
monochromatic
#070619 #15114A #231D7C #3129AE #4A41D3
Accessibility & contrast
On white
13.65
#231D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#231D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231D7C
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231D7C | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #231d7c; /* rgb */ color: rgb(35, 29, 124); /* oklch */ color: oklch(31.5% 0.152 275.9);
Tailwind
colors: {
custom: {
50: '#6c5aa3',
500: '#231d7c',
950: '#000000',
},
}SCSS
$custom: #231d7c; $custom-light: #6c5aa3; $custom-dark: #000000;
JSON
{
"hex": "#231d7c",
"rgb": {
"r": 35,
"g": 29,
"b": 124
},
"hsl": {
"h": 243.789,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.31455,
"c": 0.15249,
"h": 275.9
},
"luminance": 0.02691
}Semantic roles & 50–950 ramp
primary
#231D7C
secondary
#A9B045
accent
#E543DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F