#42459E#42459E
#42459E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.142 H 277.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #42459E |
|---|---|
| RGB | rgb(66, 69, 158) |
| HSL | hsl(238, 41%, 44%) |
| HSV | hsv(238, 58%, 62%) |
| CMYK | cmyk(58.2%, 56.3%, 0%, 38%) |
| CIE-LAB | lab(33.74, 25.87, -49.01) |
| CIE-LCH | lch(33.74, 55.41, 297.83°) |
| OKLab | oklab(43.91% 0.0182 -0.1405) |
| OKLCH | oklch(43.91% 0.142 277.4) |
| XYZ | xyz(10.5445, 7.8824, 33.3069) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.07
Darkslateblue
#483D8B
ΔE00 4.36
Ocean Blue
#4F42B5
ΔE00 4.50
Sapphire (survey)
#2138AB
ΔE00 5.29
Twilight
#4E518B
ΔE00 6.16
Blue Blue
#2242C7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42459E #9E9B42
analogous
#42739E #42459E #6D429E
triadic
#42459E #9E4245 #459E42
tetradic
#42459E #9E4273 #9E9B42 #429E6D
square
#42459E #9E4273 #9E9B42 #429E6D
split-complementary
#42459E #9E6D42 #739E42
monochromatic
#1E1F48 #303273 #42459E #6063BD #8C8ECF
Accessibility & contrast
On white
8.15
#42459E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#42459E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42459E
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42459E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42459E | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0353A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#095A6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #42459e; /* rgb */ color: rgb(66, 69, 158); /* oklch */ color: oklch(43.9% 0.142 277.4);
Tailwind
colors: {
custom: {
50: '#7f78bb',
500: '#42459e',
950: '#000000',
},
}SCSS
$custom: #42459e; $custom-light: #7f78bb; $custom-dark: #000000;
JSON
{
"hex": "#42459e",
"rgb": {
"r": 66,
"g": 69,
"b": 158
},
"hsl": {
"h": 238.043,
"s": 41.071,
"l": 43.922
},
"oklch": {
"l": 0.43905,
"c": 0.14163,
"h": 277.4
},
"luminance": 0.07883
}Semantic roles & 50–950 ramp
primary
#42459E
secondary
#BAB882
accent
#CD57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81