#42467E#42467E
#42467E is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.9% C 0.092 H 278.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #42467E |
|---|---|
| RGB | rgb(66, 70, 126) |
| HSL | hsl(236, 31%, 38%) |
| HSV | hsv(236, 48%, 49%) |
| CMYK | cmyk(47.6%, 44.4%, 0%, 50.6%) |
| CIE-LAB | lab(31.91, 14.45, -32.33) |
| CIE-LCH | lch(31.91, 35.41, 294.08°) |
| OKLab | oklab(41.85% 0.0137 -0.0915) |
| OKLCH | oklch(41.85% 0.092 278.5) |
| XYZ | xyz(8.2017, 7.0445, 20.6622) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.90
Dusk
#4E5481
ΔE00 4.96
Darkslateblue
#483D8B
ΔE00 5.06
Blueberry
#464196
ΔE00 5.39
Cobalt (survey)
#1E488F
ΔE00 7.49
Darkish Blue
#014182
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42467E #7E7A42
analogous
#42647E #42467E #5C427E
triadic
#42467E #7E4246 #467E42
tetradic
#42467E #7E4264 #7E7A42 #427E5C
square
#42467E #7E4264 #7E7A42 #427E5C
split-complementary
#42467E #7E5C42 #647E42
monochromatic
#18192E #2D3056 #42467E #575CA6 #7F83BC
Accessibility & contrast
On white
8.72
#42467E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#42467E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42467E
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42467E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42467E | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#2D525C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #42467e; /* rgb */ color: rgb(66, 70, 126); /* oklch */ color: oklch(41.9% 0.092 278.5);
Tailwind
colors: {
custom: {
50: '#7a79a4',
500: '#42467e',
950: '#000000',
},
}SCSS
$custom: #42467e; $custom-light: #7a79a4; $custom-dark: #000000;
JSON
{
"hex": "#42467e",
"rgb": {
"r": 66,
"g": 70,
"b": 126
},
"hsl": {
"h": 236,
"s": 31.25,
"l": 37.647
},
"oklch": {
"l": 0.41852,
"c": 0.09249,
"h": 278.5
},
"luminance": 0.07045
}Semantic roles & 50–950 ramp
primary
#42467E
secondary
#A7A375
accent
#C160C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F