#42429C#42429C
#42429C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.143 H 278.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #42429C |
|---|---|
| RGB | rgb(66, 66, 156) |
| HSL | hsl(240, 41%, 44%) |
| HSV | hsv(240, 58%, 61%) |
| CMYK | cmyk(57.7%, 57.7%, 0%, 38.8%) |
| CIE-LAB | lab(32.82, 27.13, -49.28) |
| CIE-LCH | lch(32.82, 56.25, 298.83°) |
| OKLab | oklab(43.18% 0.0213 -0.1413) |
| OKLCH | oklch(43.18% 0.143 278.6) |
| XYZ | xyz(10.1938, 7.4543, 32.3477) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.37
Darkslateblue
#483D8B
ΔE00 3.64
Ocean Blue
#4F42B5
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 6.58
Twilight
#4E518B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42429C #9C9C42
analogous
#426F9C #42429C #6F429C
triadic
#42429C #9C4242 #429C42
tetradic
#42429C #9C426F #9C9C42 #429C6F
square
#42429C #9C426F #9C9C42 #429C6F
split-complementary
#42429C #9C6F42 #6F9C42
monochromatic
#1E1E46 #303071 #42429C #6060BC #8B8BCE
Accessibility & contrast
On white
8.43
#42429C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#42429C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42429C
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42429C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42429C | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#0F5768
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #42429c; /* rgb */ color: rgb(66, 66, 156); /* oklch */ color: oklch(43.2% 0.143 278.6);
Tailwind
colors: {
custom: {
50: '#7f76ba',
500: '#42429c',
950: '#000000',
},
}SCSS
$custom: #42429c; $custom-light: #7f76ba; $custom-dark: #000000;
JSON
{
"hex": "#42429c",
"rgb": {
"r": 66,
"g": 66,
"b": 156
},
"hsl": {
"h": 240,
"s": 40.541,
"l": 43.529
},
"oklch": {
"l": 0.43176,
"c": 0.1429,
"h": 278.6
},
"luminance": 0.07455
}Semantic roles & 50–950 ramp
primary
#42429C
secondary
#B9B981
accent
#D057D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81