#42477B#42477B
#42477B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.086 H 277.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #42477B |
|---|---|
| RGB | rgb(66, 71, 123) |
| HSL | hsl(235, 30%, 37%) |
| HSV | hsv(235, 46%, 48%) |
| CMYK | cmyk(46.3%, 42.3%, 0%, 51.8%) |
| CIE-LAB | lab(32.02, 12.81, -30.28) |
| CIE-LCH | lch(32.02, 32.88, 292.93°) |
| OKLab | oklab(41.88% 0.0117 -0.0855) |
| OKLCH | oklch(41.88% 0.086 277.8) |
| XYZ | xyz(8.0741, 7.0944, 19.6790) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.93
Dusk
#4E5481
ΔE00 4.48
Darkslateblue
#483D8B
ΔE00 5.83
Blueberry
#464196
ΔE00 6.20
Cobalt (survey)
#1E488F
ΔE00 7.69
Denim Blue
#3B5B92
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42477B #7B7642
analogous
#42647B #42477B #5A427B
triadic
#42477B #7B4247 #477B42
tetradic
#42477B #7B4264 #7B7642 #427B5A
square
#42477B #7B4264 #7B7642 #427B5A
split-complementary
#42477B #7B5A42 #647B42
monochromatic
#17192B #2D3053 #42477B #575EA3 #7E83BA
Accessibility & contrast
On white
8.68
#42477B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#42477B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42477B
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42477B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42477B | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#2F525B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #42477b; /* rgb */ color: rgb(66, 71, 123); /* oklch */ color: oklch(41.9% 0.086 277.8);
Tailwind
colors: {
custom: {
50: '#7a7aa1',
500: '#42477b',
950: '#000000',
},
}SCSS
$custom: #42477b; $custom-light: #7a7aa1; $custom-dark: #000000;
JSON
{
"hex": "#42477b",
"rgb": {
"r": 66,
"g": 71,
"b": 123
},
"hsl": {
"h": 234.737,
"s": 30.159,
"l": 37.059
},
"oklch": {
"l": 0.41882,
"c": 0.08629,
"h": 277.8
},
"luminance": 0.07095
}Semantic roles & 50–950 ramp
primary
#42477B
secondary
#A5A074
accent
#BE61C6
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09090F
muted
#7B7B7E