#40429A#40429A
#40429A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.141 H 277.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #40429A |
|---|---|
| RGB | rgb(64, 66, 154) |
| HSL | hsl(239, 41%, 43%) |
| HSV | hsv(239, 58%, 60%) |
| CMYK | cmyk(58.4%, 57.1%, 0%, 39.6%) |
| CIE-LAB | lab(32.52, 26.05, -48.56) |
| CIE-LCH | lch(32.52, 55.11, 298.22°) |
| OKLab | oklab(42.87% 0.0188 -0.1392) |
| OKLCH | oklch(42.87% 0.141 277.7) |
| XYZ | xyz(9.8934, 7.3188, 31.4569) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.47
Darkslateblue
#483D8B
ΔE00 3.64
Ocean Blue
#4F42B5
ΔE00 4.89
Sapphire (survey)
#2138AB
ΔE00 4.93
Twilight
#4E518B
ΔE00 6.53
Blue Blue
#2242C7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40429A #9A9840
analogous
#406F9A #40429A #6B409A
triadic
#40429A #9A4042 #429A40
tetradic
#40429A #9A406F #9A9840 #409A6B
square
#40429A #9A406F #9A9840 #409A6B
split-complementary
#40429A #9A6B40 #6F9A40
monochromatic
#1C1D44 #2E2F6F #40429A #5C5EBB #8789CD
Accessibility & contrast
On white
8.52
#40429A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#40429A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40429A
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40429A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40429A | 1.00 | 8.52 | 2.46 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#085767
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #40429a; /* rgb */ color: rgb(64, 66, 154); /* oklch */ color: oklch(42.9% 0.141 277.7);
Tailwind
colors: {
custom: {
50: '#7d76b8',
500: '#40429a',
950: '#000000',
},
}SCSS
$custom: #40429a; $custom-light: #7d76b8; $custom-dark: #000000;
JSON
{
"hex": "#40429a",
"rgb": {
"r": 64,
"g": 66,
"b": 154
},
"hsl": {
"h": 238.667,
"s": 41.284,
"l": 42.745
},
"oklch": {
"l": 0.4287,
"c": 0.1405,
"h": 277.7
},
"luminance": 0.0732
}Semantic roles & 50–950 ramp
primary
#40429A
secondary
#B8B77E
accent
#CE57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80