#42467F#42467F
#42467F is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.094 H 278.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #42467F |
|---|---|
| RGB | rgb(66, 70, 127) |
| HSL | hsl(236, 32%, 38%) |
| HSV | hsv(236, 48%, 50%) |
| CMYK | cmyk(48%, 44.9%, 0%, 50.2%) |
| CIE-LAB | lab(31.97, 14.78, -32.86) |
| CIE-LCH | lch(31.97, 36.03, 294.21°) |
| OKLab | oklab(41.92% 0.0139 -0.093) |
| OKLCH | oklch(41.92% 0.094 278.5) |
| XYZ | xyz(8.2665, 7.0704, 21.0037) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.85
Darkslateblue
#483D8B
ΔE00 4.91
Dusk
#4E5481
ΔE00 5.03
Blueberry
#464196
ΔE00 5.20
Cobalt (survey)
#1E488F
ΔE00 7.39
Darkish Blue
#014182
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42467F #7F7B42
analogous
#42647F #42467F #5D427F
triadic
#42467F #7F4246 #467F42
tetradic
#42467F #7F4264 #7F7B42 #427F5D
square
#42467F #7F4264 #7F7B42 #427F5D
split-complementary
#42467F #7F5D42 #647F42
monochromatic
#181A2E #2D3057 #42467F #575CA7 #7F83BC
Accessibility & contrast
On white
8.70
#42467F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#42467F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42467F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42467F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42467F | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#2B497E
Tritanopia (blue-blind)
#2D525C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #42467f; /* rgb */ color: rgb(66, 70, 127); /* oklch */ color: oklch(41.9% 0.094 278.5);
Tailwind
colors: {
custom: {
50: '#7a79a4',
500: '#42467f',
950: '#000000',
},
}SCSS
$custom: #42467f; $custom-light: #7a79a4; $custom-dark: #000000;
JSON
{
"hex": "#42467f",
"rgb": {
"r": 66,
"g": 70,
"b": 127
},
"hsl": {
"h": 236.066,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.41916,
"c": 0.09405,
"h": 278.5
},
"luminance": 0.07071
}Semantic roles & 50–950 ramp
primary
#42467F
secondary
#A7A475
accent
#C160C8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F