#42476F#42476F
#42476F is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.067 H 277.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #42476F |
|---|---|
| RGB | rgb(66, 71, 111) |
| HSL | hsl(233, 25%, 35%) |
| HSV | hsv(233, 41%, 44%) |
| CMYK | cmyk(40.5%, 36%, 0%, 56.5%) |
| CIE-LAB | lab(31.38, 8.99, -23.78) |
| CIE-LCH | lch(31.38, 25.42, 290.72°) |
| OKLab | oklab(41.18% 0.0089 -0.0666) |
| OKLCH | oklch(41.18% 0.067 277.6) |
| XYZ | xyz(7.3684, 6.8121, 15.9625) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.74
Twilight
#4E518B
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 8.11
Blueberry
#464196
ΔE00 8.79
Cobalt (survey)
#1E488F
ΔE00 9.46
Dusky Blue
#475F94
ΔE00 10.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42476F #6F6A42
analogous
#425E6F #42476F #53426F
triadic
#42476F #6F4247 #476F42
tetradic
#42476F #6F425E #6F6A42 #426F53
square
#42476F #6F425E #6F6A42 #426F53
split-complementary
#42476F #6F5342 #5E6F42
monochromatic
#141622 #2B2E49 #42476F #596095 #7B81B0
Accessibility & contrast
On white
8.89
#42476F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#42476F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42476F
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42476F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42476F | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#37486E
Tritanopia (blue-blind)
#354F56
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #42476f; /* rgb */ color: rgb(66, 71, 111); /* oklch */ color: oklch(41.2% 0.067 277.6);
Tailwind
colors: {
custom: {
50: '#787a98',
500: '#42476f',
950: '#000000',
},
}SCSS
$custom: #42476f; $custom-light: #787a98; $custom-dark: #000000;
JSON
{
"hex": "#42476f",
"rgb": {
"r": 66,
"g": 71,
"b": 111
},
"hsl": {
"h": 233.333,
"s": 25.424,
"l": 34.706
},
"oklch": {
"l": 0.41175,
"c": 0.06715,
"h": 277.6
},
"luminance": 0.06812
}Semantic roles & 50–950 ramp
primary
#42476F
secondary
#9C9771
accent
#B866C2
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090D
muted
#7B7B7E