#42439D#42439D
#42439D is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.143 H 278.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #42439D |
|---|---|
| RGB | rgb(66, 67, 157) |
| HSL | hsl(239, 41%, 44%) |
| HSV | hsv(239, 58%, 62%) |
| CMYK | cmyk(58%, 57.3%, 0%, 38.4%) |
| CIE-LAB | lab(33.15, 26.82, -49.35) |
| CIE-LCH | lch(33.15, 56.17, 298.52°) |
| OKLab | oklab(43.44% 0.0203 -0.1415) |
| OKLCH | oklch(43.44% 0.143 278.2) |
| XYZ | xyz(10.3378, 7.6062, 32.8151) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.60
Darkslateblue
#483D8B
ΔE00 3.91
Ocean Blue
#4F42B5
ΔE00 4.38
Sapphire (survey)
#2138AB
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 6.43
Twilight
#4E518B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42439D #9D9C42
analogous
#42709D #42439D #6E429D
triadic
#42439D #9D4243 #439D42
tetradic
#42439D #9D4270 #9D9C42 #429D6E
square
#42439D #9D4270 #9D9C42 #429D6E
split-complementary
#42439D #9D6E42 #709D42
monochromatic
#1E1E47 #303172 #42439D #6061BC #8B8CCE
Accessibility & contrast
On white
8.33
#42439D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#42439D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42439D
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42439D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42439D | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#0C5869
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #42439d; /* rgb */ color: rgb(66, 67, 157); /* oklch */ color: oklch(43.4% 0.143 278.2);
Tailwind
colors: {
custom: {
50: '#7f77bb',
500: '#42439d',
950: '#000000',
},
}SCSS
$custom: #42439d; $custom-light: #7f77bb; $custom-dark: #000000;
JSON
{
"hex": "#42439d",
"rgb": {
"r": 66,
"g": 67,
"b": 157
},
"hsl": {
"h": 239.341,
"s": 40.807,
"l": 43.725
},
"oklch": {
"l": 0.43444,
"c": 0.14295,
"h": 278.2
},
"luminance": 0.07607
}Semantic roles & 50–950 ramp
primary
#42439D
secondary
#B9B982
accent
#CF57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81