#403B72#403B72
#403B72 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.6% C 0.091 H 285.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #403B72 |
|---|---|
| RGB | rgb(64, 59, 114) |
| HSL | hsl(245, 32%, 34%) |
| HSV | hsv(245, 48%, 45%) |
| CMYK | cmyk(43.9%, 48.2%, 0%, 55.3%) |
| CIE-LAB | lab(27.93, 17.33, -31.12) |
| CIE-LCH | lch(27.93, 35.62, 299.11°) |
| OKLab | oklab(38.56% 0.0243 -0.088) |
| OKLCH | oklch(38.56% 0.091 285.4) |
| XYZ | xyz(6.7147, 5.4326, 16.6111) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.98
Blueberry
#464196
ΔE00 6.72
Twilight
#4E518B
ΔE00 7.43
Dusk
#4E5481
ΔE00 8.24
Navy Blue
#1B2A4A
ΔE00 9.91
Marine
#042E60
ΔE00 9.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403B72 #6D723B
analogous
#3B5272 #403B72 #5C3B72
triadic
#403B72 #72403B #3B7240
tetradic
#403B72 #723B52 #6D723B #3B725C
square
#403B72 #723B52 #6D723B #3B725C
split-complementary
#403B72 #725C3B #52723B
monochromatic
#131121 #29264A #403B72 #57509A #7872B6
Accessibility & contrast
On white
10.06
#403B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#403B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403B72
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403B72 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264374
Deuteranopia (green-blind)
#254071
Tritanopia (blue-blind)
#314651
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #403b72; /* rgb */ color: rgb(64, 59, 114); /* oklch */ color: oklch(38.6% 0.091 285.4);
Tailwind
colors: {
custom: {
50: '#78719b',
500: '#403b72',
950: '#000000',
},
}SCSS
$custom: #403b72; $custom-light: #78719b; $custom-dark: #000000;
JSON
{
"hex": "#403b72",
"rgb": {
"r": 64,
"g": 59,
"b": 114
},
"hsl": {
"h": 245.455,
"s": 31.792,
"l": 33.922
},
"oklch": {
"l": 0.38559,
"c": 0.09132,
"h": 285.4
},
"luminance": 0.05433
}Semantic roles & 50–950 ramp
primary
#403B72
secondary
#9BA069
accent
#C860BE
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E