#42499D#42499D
#42499D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.135 H 275.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #42499D |
|---|---|
| RGB | rgb(66, 73, 157) |
| HSL | hsl(235, 41%, 44%) |
| HSV | hsv(235, 58%, 62%) |
| CMYK | cmyk(58%, 53.5%, 0%, 38.4%) |
| CIE-LAB | lab(34.72, 22.93, -46.82) |
| CIE-LCH | lch(34.72, 52.13, 296.09°) |
| OKLab | oklab(44.62% 0.0139 -0.134) |
| OKLCH | oklch(44.62% 0.135 275.9) |
| XYZ | xyz(10.7132, 8.3569, 32.9403) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.11
Darkslateblue
#483D8B
ΔE00 5.20
Twilight
#4E518B
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 5.37
Cobalt
#0047AB
ΔE00 6.16
Sapphire (survey)
#2138AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42499D #9D9642
analogous
#42769D #42499D #68429D
triadic
#42499D #9D4249 #499D42
tetradic
#42499D #9D4276 #9D9642 #429D68
square
#42499D #9D4276 #9D9642 #429D68
split-complementary
#42499D #9D6842 #769D42
monochromatic
#1E2147 #303572 #42499D #6067BC #8B90CE
Accessibility & contrast
On white
7.86
#42499D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#42499D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42499D
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42499D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42499D | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1856A0
Deuteranopia (green-blind)
#024E9B
Tritanopia (blue-blind)
#0A5C6C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #42499d; /* rgb */ color: rgb(66, 73, 157); /* oklch */ color: oklch(44.6% 0.135 275.9);
Tailwind
colors: {
custom: {
50: '#7f7bba',
500: '#42499d',
950: '#000000',
},
}SCSS
$custom: #42499d; $custom-light: #7f7bba; $custom-dark: #000000;
JSON
{
"hex": "#42499d",
"rgb": {
"r": 66,
"g": 73,
"b": 157
},
"hsl": {
"h": 235.385,
"s": 40.807,
"l": 43.725
},
"oklch": {
"l": 0.44615,
"c": 0.13471,
"h": 275.9
},
"luminance": 0.08358
}Semantic roles & 50–950 ramp
primary
#42499D
secondary
#B9B582
accent
#C757D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81