#42429D#42429D
#42429D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.144 H 278.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #42429D |
|---|---|
| RGB | rgb(66, 66, 157) |
| HSL | hsl(240, 41%, 44%) |
| HSV | hsv(240, 58%, 62%) |
| CMYK | cmyk(58%, 58%, 0%, 38.4%) |
| CIE-LAB | lab(32.89, 27.47, -49.77) |
| CIE-LCH | lch(32.89, 56.84, 298.90°) |
| OKLab | oklab(43.26% 0.0213 -0.1427) |
| OKLCH | oklch(43.26% 0.144 278.5) |
| XYZ | xyz(10.2789, 7.4883, 32.7955) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.49
Darkslateblue
#483D8B
ΔE00 3.77
Ocean Blue
#4F42B5
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 4.86
Blue Blue
#2242C7
ΔE00 6.43
Twilight
#4E518B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42429D #9D9D42
analogous
#426F9D #42429D #6F429D
triadic
#42429D #9D4242 #429D42
tetradic
#42429D #9D426F #9D9D42 #429D6F
square
#42429D #9D426F #9D9D42 #429D6F
split-complementary
#42429D #9D6F42 #6F9D42
monochromatic
#1E1E47 #303072 #42429D #6060BC #8B8BCE
Accessibility & contrast
On white
8.41
#42429D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#42429D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42429D
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42429D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42429D | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#0D5769
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #42429d; /* rgb */ color: rgb(66, 66, 157); /* oklch */ color: oklch(43.3% 0.144 278.5);
Tailwind
colors: {
custom: {
50: '#7f76bb',
500: '#42429d',
950: '#000000',
},
}SCSS
$custom: #42429d; $custom-light: #7f76bb; $custom-dark: #000000;
JSON
{
"hex": "#42429d",
"rgb": {
"r": 66,
"g": 66,
"b": 157
},
"hsl": {
"h": 240,
"s": 40.807,
"l": 43.725
},
"oklch": {
"l": 0.43255,
"c": 0.14431,
"h": 278.5
},
"luminance": 0.07489
}Semantic roles & 50–950 ramp
primary
#42429D
secondary
#B9B982
accent
#D157D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81