#231775#231775
#231775 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.150 H 278.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #231775 |
|---|---|
| RGB | rgb(35, 23, 117) |
| HSL | hsl(248, 67%, 27%) |
| HSV | hsv(248, 80%, 46%) |
| CMYK | cmyk(70.1%, 80.3%, 0%, 54.1%) |
| CIE-LAB | lab(16.77, 35.66, -51.28) |
| CIE-LCH | lch(16.77, 62.46, 304.81°) |
| OKLab | oklab(29.82% 0.0208 -0.1481) |
| OKLCH | oklch(29.82% 0.15 278) |
| XYZ | xyz(4.2094, 2.2541, 17.0394) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.72
Dark Royal Blue
#02066F
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.39
Darkblue (survey)
#030764
ΔE00 4.55
Royal
#0C1793
ΔE00 4.69
Navy
#000080
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231775 #697517
analogous
#173A75 #231775 #521775
triadic
#231775 #752317 #177523
tetradic
#231775 #75173A #697517 #177552
square
#231775 #75173A #697517 #177552
split-complementary
#231775 #755217 #3A7517
monochromatic
#08051A #140D42 #231775 #3221A8 #4530D6
Accessibility & contrast
On white
14.47
#231775 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#231775 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231775
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231775 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231775 | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #231775; /* rgb */ color: rgb(35, 23, 117); /* oklch */ color: oklch(29.8% 0.150 278.0);
Tailwind
colors: {
custom: {
50: '#6b569e',
500: '#231775',
950: '#000000',
},
}SCSS
$custom: #231775; $custom-light: #6b569e; $custom-dark: #000000;
JSON
{
"hex": "#231775",
"rgb": {
"r": 35,
"g": 23,
"b": 117
},
"hsl": {
"h": 247.66,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.29819,
"c": 0.14959,
"h": 278
},
"luminance": 0.02254
}Semantic roles & 50–950 ramp
primary
#231775
secondary
#9CAA3D
accent
#EA3ED4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E