#403C95#403C95
#403C95 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.142 H 280.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #403C95 |
|---|---|
| RGB | rgb(64, 60, 149) |
| HSL | hsl(243, 43%, 41%) |
| HSV | hsv(243, 60%, 58%) |
| CMYK | cmyk(57%, 59.7%, 0%, 41.6%) |
| CIE-LAB | lab(30.62, 28.24, -48.59) |
| CIE-LCH | lch(30.62, 56.20, 300.16°) |
| OKLab | oklab(41.34% 0.0252 -0.1394) |
| OKLCH | oklch(41.34% 0.142 280.2) |
| XYZ | xyz(9.1533, 6.4910, 29.1985) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.64
Darkslateblue
#483D8B
ΔE00 2.57
Sapphire (survey)
#2138AB
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 5.43
Blue Blue
#2242C7
ΔE00 7.70
Twilight
#4E518B
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403C95 #91953C
analogous
#3C6495 #403C95 #6C3C95
triadic
#403C95 #95403C #3C9540
tetradic
#403C95 #953C64 #91953C #3C956C
square
#403C95 #953C64 #91953C #3C956C
split-complementary
#403C95 #956C3C #64953C
monochromatic
#1B193E #2D2A69 #403C95 #5954BA #8380CC
Accessibility & contrast
On white
9.14
#403C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#403C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403C95
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403C95 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#145162
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #403c95; /* rgb */ color: rgb(64, 60, 149); /* oklch */ color: oklch(41.3% 0.142 280.2);
Tailwind
colors: {
custom: {
50: '#7d72b5',
500: '#403c95',
950: '#000000',
},
}SCSS
$custom: #403c95; $custom-light: #7d72b5; $custom-dark: #000000;
JSON
{
"hex": "#403c95",
"rgb": {
"r": 64,
"g": 60,
"b": 149
},
"hsl": {
"h": 242.697,
"s": 42.584,
"l": 40.98
},
"oklch": {
"l": 0.4134,
"c": 0.14163,
"h": 280.2
},
"luminance": 0.06492
}Semantic roles & 50–950 ramp
primary
#403C95
secondary
#B3B677
accent
#D255CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0811
muted
#7C7B80