#42498F#42498F
#42498F is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.6% C 0.114 H 276.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #42498F |
|---|---|
| RGB | rgb(66, 73, 143) |
| HSL | hsl(235, 37%, 41%) |
| HSV | hsv(235, 54%, 56%) |
| CMYK | cmyk(53.8%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(33.79, 18.14, -39.82) |
| CIE-LCH | lch(33.79, 43.75, 294.50°) |
| OKLab | oklab(43.62% 0.0125 -0.1134) |
| OKLCH | oklch(43.62% 0.114 276.3) |
| XYZ | xyz(9.5857, 7.9059, 27.0022) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.60
Twilight
#4E518B
ΔE00 3.63
Darkslateblue
#483D8B
ΔE00 4.75
Dusk
#4E5481
ΔE00 5.86
Cobalt (survey)
#1E488F
ΔE00 6.01
Cobalt
#0047AB
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42498F #8F8842
analogous
#426F8F #42498F #61428F
triadic
#42498F #8F4249 #498F42
tetradic
#42498F #8F426F #8F8842 #428F61
square
#42498F #8F426F #8F8842 #428F61
split-complementary
#42498F #8F6142 #6F8F42
monochromatic
#1B1E3B #2F3465 #42498F #5B63B3 #858BC7
Accessibility & contrast
On white
8.14
#42498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#42498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42498F
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42498F | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#204C8D
Tritanopia (blue-blind)
#205865
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #42498f; /* rgb */ color: rgb(66, 73, 143); /* oklch */ color: oklch(43.6% 0.114 276.3);
Tailwind
colors: {
custom: {
50: '#7c7bb0',
500: '#42498f',
950: '#000000',
},
}SCSS
$custom: #42498f; $custom-light: #7c7bb0; $custom-dark: #000000;
JSON
{
"hex": "#42498f",
"rgb": {
"r": 66,
"g": 73,
"b": 143
},
"hsl": {
"h": 234.545,
"s": 36.842,
"l": 40.98
},
"oklch": {
"l": 0.43616,
"c": 0.11409,
"h": 276.3
},
"luminance": 0.07907
}Semantic roles & 50–950 ramp
primary
#42498F
secondary
#B1AC7B
accent
#C25BCD
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F