#403C92#403C92
#403C92 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.137 H 280.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #403C92 |
|---|---|
| RGB | rgb(64, 60, 146) |
| HSL | hsl(243, 42%, 40%) |
| HSV | hsv(243, 59%, 57%) |
| CMYK | cmyk(56.2%, 58.9%, 0%, 42.7%) |
| CIE-LAB | lab(30.39, 27.23, -47.13) |
| CIE-LCH | lch(30.39, 54.43, 300.02°) |
| OKLab | oklab(41.1% 0.0252 -0.1351) |
| OKLCH | oklch(41.1% 0.137 280.6) |
| XYZ | xyz(8.9169, 6.3965, 27.9533) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.64
Darkslateblue
#483D8B
ΔE00 2.20
Sapphire (survey)
#2138AB
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 5.86
Twilight
#4E518B
ΔE00 7.50
Blue Blue
#2242C7
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#403C92 #8E923C
analogous
#3C6392 #403C92 #6B3C92
triadic
#403C92 #92403C #3C9240
tetradic
#403C92 #923C63 #8E923C #3C926B
square
#403C92 #923C63 #8E923C #3C926B
split-complementary
#403C92 #926B3C #63923C
monochromatic
#1A183B #2D2A67 #403C92 #5853B8 #827ECA
Accessibility & contrast
On white
9.21
#403C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#403C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #403C92
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##403C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##403C92 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#195061
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #403c92; /* rgb */ color: rgb(64, 60, 146); /* oklch */ color: oklch(41.1% 0.137 280.6);
Tailwind
colors: {
custom: {
50: '#7c72b3',
500: '#403c92',
950: '#000000',
},
}SCSS
$custom: #403c92; $custom-light: #7c72b3; $custom-dark: #000000;
JSON
{
"hex": "#403c92",
"rgb": {
"r": 64,
"g": 60,
"b": 146
},
"hsl": {
"h": 242.791,
"s": 41.748,
"l": 40.392
},
"oklch": {
"l": 0.411,
"c": 0.1374,
"h": 280.6
},
"luminance": 0.06397
}Semantic roles & 50–950 ramp
primary
#403C92
secondary
#B1B476
accent
#D256CC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80