#42498E#42498E
#42498E is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.5% C 0.113 H 276.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #42498E |
|---|---|
| RGB | rgb(66, 73, 142) |
| HSL | hsl(234, 37%, 41%) |
| HSV | hsv(234, 54%, 56%) |
| CMYK | cmyk(53.5%, 48.6%, 0%, 44.3%) |
| CIE-LAB | lab(33.72, 17.80, -39.31) |
| CIE-LCH | lch(33.72, 43.15, 294.37°) |
| OKLab | oklab(43.55% 0.0124 -0.1119) |
| OKLCH | oklch(43.55% 0.113 276.3) |
| XYZ | xyz(9.5103, 7.8757, 26.6050) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.54
Blueberry
#464196
ΔE00 3.70
Darkslateblue
#483D8B
ΔE00 4.77
Dusk
#4E5481
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 6.03
Cobalt
#0047AB
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42498E #8E8742
analogous
#426F8E #42498E #61428E
triadic
#42498E #8E4249 #498E42
tetradic
#42498E #8E426F #8E8742 #428E61
square
#42498E #8E426F #8E8742 #428E61
split-complementary
#42498E #8E6142 #6F8E42
monochromatic
#1B1E3A #2F3464 #42498E #5B63B3 #848AC6
Accessibility & contrast
On white
8.15
#42498E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#42498E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42498E
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42498E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42498E | 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)
#2A5391
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#215864
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #42498e; /* rgb */ color: rgb(66, 73, 142); /* oklch */ color: oklch(43.5% 0.113 276.3);
Tailwind
colors: {
custom: {
50: '#7c7baf',
500: '#42498e',
950: '#000000',
},
}SCSS
$custom: #42498e; $custom-light: #7c7baf; $custom-dark: #000000;
JSON
{
"hex": "#42498e",
"rgb": {
"r": 66,
"g": 73,
"b": 142
},
"hsl": {
"h": 234.474,
"s": 36.538,
"l": 40.784
},
"oklch": {
"l": 0.43547,
"c": 0.11258,
"h": 276.3
},
"luminance": 0.07876
}Semantic roles & 50–950 ramp
primary
#42498E
secondary
#B1AC7B
accent
#C25BCD
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F