#42487E#42487E
#42487E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.089 H 277.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #42487E |
|---|---|
| RGB | rgb(66, 72, 126) |
| HSL | hsl(234, 31%, 38%) |
| HSV | hsv(234, 48%, 49%) |
| CMYK | cmyk(47.6%, 42.9%, 0%, 50.6%) |
| CIE-LAB | lab(32.48, 13.13, -31.43) |
| CIE-LCH | lch(32.48, 34.06, 292.67°) |
| OKLab | oklab(42.29% 0.011 -0.0888) |
| OKLCH | oklch(42.29% 0.09 277.1) |
| XYZ | xyz(8.3289, 7.2989, 20.7046) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.51
Dusk
#4E5481
ΔE00 4.34
Darkslateblue
#483D8B
ΔE00 5.71
Blueberry
#464196
ΔE00 5.84
Cobalt (survey)
#1E488F
ΔE00 7.22
Denim Blue
#3B5B92
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42487E #7E7842
analogous
#42667E #42487E #5A427E
triadic
#42487E #7E4248 #487E42
tetradic
#42487E #7E4266 #7E7842 #427E5A
square
#42487E #7E4266 #7E7842 #427E5A
split-complementary
#42487E #7E5A42 #667E42
monochromatic
#181A2E #2D3156 #42487E #575FA6 #7F85BC
Accessibility & contrast
On white
8.54
#42487E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#42487E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42487E
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42487E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42487E | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#2D535D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #42487e; /* rgb */ color: rgb(66, 72, 126); /* oklch */ color: oklch(42.3% 0.089 277.1);
Tailwind
colors: {
custom: {
50: '#7a7aa4',
500: '#42487e',
950: '#000000',
},
}SCSS
$custom: #42487e; $custom-light: #7a7aa4; $custom-dark: #000000;
JSON
{
"hex": "#42487e",
"rgb": {
"r": 66,
"g": 72,
"b": 126
},
"hsl": {
"h": 234,
"s": 31.25,
"l": 37.647
},
"oklch": {
"l": 0.42287,
"c": 0.0895,
"h": 277.1
},
"luminance": 0.07299
}Semantic roles & 50–950 ramp
primary
#42487E
secondary
#A7A275
accent
#BD60C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F