#403C93#403C93
#403C93 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.139 H 280.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #403C93 |
|---|---|
| RGB | rgb(64, 60, 147) |
| HSL | hsl(243, 42%, 41%) |
| HSV | hsv(243, 59%, 58%) |
| CMYK | cmyk(56.5%, 59.2%, 0%, 42.4%) |
| CIE-LAB | lab(30.47, 27.57, -47.62) |
| CIE-LCH | lch(30.47, 55.02, 300.07°) |
| OKLab | oklab(41.18% 0.0252 -0.1365) |
| OKLCH | oklch(41.18% 0.139 280.4) |
| XYZ | xyz(8.9950, 6.4277, 28.3648) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.62
Darkslateblue
#483D8B
ΔE00 2.32
Sapphire (survey)
#2138AB
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 5.72
Twilight
#4E518B
ΔE00 7.57
Blue Blue
#2242C7
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403C93 #8F933C
analogous
#3C6393 #403C93 #6B3C93
triadic
#403C93 #93403C #3C9340
tetradic
#403C93 #933C63 #8F933C #3C936B
square
#403C93 #933C63 #8F933C #3C936B
split-complementary
#403C93 #936B3C #63933C
monochromatic
#1A193C #2D2A68 #403C93 #5853B9 #827FCB
Accessibility & contrast
On white
9.19
#403C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#403C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403C93
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403C93 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#175061
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #403c93; /* rgb */ color: rgb(64, 60, 147); /* oklch */ color: oklch(41.2% 0.139 280.4);
Tailwind
colors: {
custom: {
50: '#7d72b3',
500: '#403c93',
950: '#000000',
},
}SCSS
$custom: #403c93; $custom-light: #7d72b3; $custom-dark: #000000;
JSON
{
"hex": "#403c93",
"rgb": {
"r": 64,
"g": 60,
"b": 147
},
"hsl": {
"h": 242.759,
"s": 42.029,
"l": 40.588
},
"oklch": {
"l": 0.41179,
"c": 0.13881,
"h": 280.4
},
"luminance": 0.06428
}Semantic roles & 50–950 ramp
primary
#403C93
secondary
#B2B476
accent
#D256CC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80