#42478C#42478C
#42478C is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.0% C 0.112 H 277.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #42478C |
|---|---|
| RGB | rgb(66, 71, 140) |
| HSL | hsl(236, 36%, 40%) |
| HSV | hsv(236, 53%, 55%) |
| CMYK | cmyk(52.9%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(33.04, 18.44, -39.17) |
| CIE-LCH | lch(33.04, 43.29, 295.21°) |
| OKLab | oklab(42.99% 0.0146 -0.1115) |
| OKLCH | oklch(42.99% 0.112 277.4) |
| XYZ | xyz(9.2321, 7.5576, 25.7781) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.31
Twilight
#4E518B
ΔE00 3.85
Darkslateblue
#483D8B
ΔE00 4.12
Dusk
#4E5481
ΔE00 6.00
Cobalt (survey)
#1E488F
ΔE00 6.38
Ocean Blue
#4F42B5
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42478C #8C8742
analogous
#426C8C #42478C #62428C
triadic
#42478C #8C4247 #478C42
tetradic
#42478C #8C426C #8C8742 #428C62
square
#42478C #8C426C #8C8742 #428C62
split-complementary
#42478C #8C6242 #6C8C42
monochromatic
#1B1D39 #2E3262 #42478C #5A60B1 #8488C5
Accessibility & contrast
On white
8.36
#42478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#42478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42478C
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42478C | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28518F
Deuteranopia (green-blind)
#204B8A
Tritanopia (blue-blind)
#235663
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #42478c; /* rgb */ color: rgb(66, 71, 140); /* oklch */ color: oklch(43.0% 0.112 277.4);
Tailwind
colors: {
custom: {
50: '#7c7aae',
500: '#42478c',
950: '#000000',
},
}SCSS
$custom: #42478c; $custom-light: #7c7aae; $custom-dark: #000000;
JSON
{
"hex": "#42478c",
"rgb": {
"r": 66,
"g": 71,
"b": 140
},
"hsl": {
"h": 235.946,
"s": 35.922,
"l": 40.392
},
"oklch": {
"l": 0.42992,
"c": 0.11246,
"h": 277.4
},
"luminance": 0.07558
}Semantic roles & 50–950 ramp
primary
#42478C
secondary
#B0AC7A
accent
#C45CCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F