#42487B#42487B
#42487B is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.085 H 277.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #42487B |
|---|---|
| RGB | rgb(66, 72, 123) |
| HSL | hsl(234, 30%, 37%) |
| HSV | hsv(234, 46%, 48%) |
| CMYK | cmyk(46.3%, 41.5%, 0%, 51.8%) |
| CIE-LAB | lab(32.31, 12.15, -29.83) |
| CIE-LCH | lch(32.31, 32.21, 292.16°) |
| OKLab | oklab(42.1% 0.0104 -0.0841) |
| OKLCH | oklch(42.1% 0.085 277) |
| XYZ | xyz(8.1382, 7.2226, 19.7003) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.79
Dusk
#4E5481
ΔE00 4.17
Darkslateblue
#483D8B
ΔE00 6.15
Blueberry
#464196
ΔE00 6.41
Cobalt (survey)
#1E488F
ΔE00 7.57
Denim Blue
#3B5B92
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42487B #7B7542
analogous
#42657B #42487B #59427B
triadic
#42487B #7B4248 #487B42
tetradic
#42487B #7B4265 #7B7542 #427B59
square
#42487B #7B4265 #7B7542 #427B59
split-complementary
#42487B #7B5942 #657B42
monochromatic
#17192B #2D3153 #42487B #575FA3 #7E84BA
Accessibility & contrast
On white
8.59
#42487B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#42487B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42487B
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42487B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42487B | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#2F525B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #42487b; /* rgb */ color: rgb(66, 72, 123); /* oklch */ color: oklch(42.1% 0.085 277.0);
Tailwind
colors: {
custom: {
50: '#7a7aa1',
500: '#42487b',
950: '#000000',
},
}SCSS
$custom: #42487b; $custom-light: #7a7aa1; $custom-dark: #000000;
JSON
{
"hex": "#42487b",
"rgb": {
"r": 66,
"g": 72,
"b": 123
},
"hsl": {
"h": 233.684,
"s": 30.159,
"l": 37.059
},
"oklch": {
"l": 0.42102,
"c": 0.08479,
"h": 277
},
"luminance": 0.07223
}Semantic roles & 50–950 ramp
primary
#42487B
secondary
#A5A074
accent
#BC61C6
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09090F
muted
#7B7B7E