#42437F#42437F
#42437F is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.3% C 0.099 H 280.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #42437F |
|---|---|
| RGB | rgb(66, 67, 127) |
| HSL | hsl(239, 32%, 38%) |
| HSV | hsv(239, 48%, 50%) |
| CMYK | cmyk(48%, 47.2%, 0%, 50.2%) |
| CIE-LAB | lab(31.12, 16.76, -34.20) |
| CIE-LCH | lch(31.12, 38.09, 296.11°) |
| OKLab | oklab(41.28% 0.0179 -0.097) |
| OKLCH | oklch(41.28% 0.099 280.4) |
| XYZ | xyz(8.0835, 6.7045, 20.9427) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.97
Twilight
#4E518B
ΔE00 4.61
Blueberry
#464196
ΔE00 4.63
Dusk
#4E5481
ΔE00 6.00
Cobalt (survey)
#1E488F
ΔE00 7.88
Darkish Blue
#014182
ΔE00 9.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42437F #7F7E42
analogous
#42627F #42437F #5F427F
triadic
#42437F #7F4243 #437F42
tetradic
#42437F #7F4262 #7F7E42 #427F5F
square
#42437F #7F4262 #7F7E42 #427F5F
split-complementary
#42437F #7F5F42 #627F42
monochromatic
#18192E #2D2E57 #42437F #5758A7 #7F80BC
Accessibility & contrast
On white
8.97
#42437F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#42437F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42437F
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42437F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42437F | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#2D505B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #42437f; /* rgb */ color: rgb(66, 67, 127); /* oklch */ color: oklch(41.3% 0.099 280.4);
Tailwind
colors: {
custom: {
50: '#7a77a4',
500: '#42437f',
950: '#000000',
},
}SCSS
$custom: #42437f; $custom-light: #7a77a4; $custom-dark: #000000;
JSON
{
"hex": "#42437f",
"rgb": {
"r": 66,
"g": 67,
"b": 127
},
"hsl": {
"h": 239.016,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.41276,
"c": 0.09859,
"h": 280.4
},
"luminance": 0.06705
}Semantic roles & 50–950 ramp
primary
#42437F
secondary
#A7A675
accent
#C660C8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F