#42499F#42499F
#42499F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.138 H 275.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #42499F |
|---|---|
| RGB | rgb(66, 73, 159) |
| HSL | hsl(235, 41%, 44%) |
| HSV | hsv(235, 58%, 62%) |
| CMYK | cmyk(58.5%, 54.1%, 0%, 37.6%) |
| CIE-LAB | lab(34.85, 23.61, -47.80) |
| CIE-LCH | lch(34.85, 53.32, 296.29°) |
| OKLab | oklab(44.76% 0.014 -0.1369) |
| OKLCH | oklch(44.76% 0.138 275.8) |
| XYZ | xyz(10.8853, 8.4258, 33.8469) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.19
Ocean Blue
#4F42B5
ΔE00 5.12
Darkslateblue
#483D8B
ΔE00 5.35
Twilight
#4E518B
ΔE00 5.49
Cobalt
#0047AB
ΔE00 6.06
Sapphire (survey)
#2138AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42499F #9F9842
analogous
#42789F #42499F #6A429F
triadic
#42499F #9F4249 #499F42
tetradic
#42499F #9F4278 #9F9842 #429F6A
square
#42499F #9F4278 #9F9842 #429F6A
split-complementary
#42499F #9F6A42 #789F42
monochromatic
#1E2149 #303574 #42499F #6168BD #8C91CF
Accessibility & contrast
On white
7.82
#42499F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#42499F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42499F
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42499F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42499F | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#045D6D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #42499f; /* rgb */ color: rgb(66, 73, 159); /* oklch */ color: oklch(44.8% 0.138 275.8);
Tailwind
colors: {
custom: {
50: '#7f7bbc',
500: '#42499f',
950: '#000000',
},
}SCSS
$custom: #42499f; $custom-light: #7f7bbc; $custom-dark: #000000;
JSON
{
"hex": "#42499f",
"rgb": {
"r": 66,
"g": 73,
"b": 159
},
"hsl": {
"h": 235.484,
"s": 41.333,
"l": 44.118
},
"oklch": {
"l": 0.44763,
"c": 0.13759,
"h": 275.8
},
"luminance": 0.08427
}Semantic roles & 50–950 ramp
primary
#42499F
secondary
#BAB682
accent
#C857D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81