#42519F#42519F
#42519F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.127 H 272.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #42519F |
|---|---|
| RGB | rgb(66, 81, 159) |
| HSL | hsl(230, 41%, 44%) |
| HSV | hsv(230, 58%, 62%) |
| CMYK | cmyk(58.5%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(37.01, 18.40, -44.33) |
| CIE-LCH | lch(37.01, 47.99, 292.54°) |
| OKLab | oklab(46.39% 0.0053 -0.1266) |
| OKLCH | oklch(46.39% 0.127 272.4) |
| XYZ | xyz(11.4451, 9.5455, 34.0335) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.16
Dusky Blue
#475F94
ΔE00 5.36
Blueberry
#464196
ΔE00 5.81
Cobalt (survey)
#1E488F
ΔE00 5.84
Sapphire
#0F52BA
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42519F #9F9042
analogous
#42809F #42519F #62429F
triadic
#42519F #9F4251 #519F42
tetradic
#42519F #9F4280 #9F9042 #429F62
square
#42519F #9F4280 #9F9042 #429F62
split-complementary
#42519F #9F6242 #809F42
monochromatic
#1E2549 #303B74 #42519F #6170BD #8C97CF
Accessibility & contrast
On white
7.22
#42519F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#42519F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42519F
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42519F | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5BA2
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #42519f; /* rgb */ color: rgb(66, 81, 159); /* oklch */ color: oklch(46.4% 0.127 272.4);
Tailwind
colors: {
custom: {
50: '#7e81bc',
500: '#42519f',
950: '#000000',
},
}SCSS
$custom: #42519f; $custom-light: #7e81bc; $custom-dark: #000000;
JSON
{
"hex": "#42519f",
"rgb": {
"r": 66,
"g": 81,
"b": 159
},
"hsl": {
"h": 230.323,
"s": 41.333,
"l": 44.118
},
"oklch": {
"l": 0.46393,
"c": 0.12669,
"h": 272.4
},
"luminance": 0.09546
}Semantic roles & 50–950 ramp
primary
#42519F
secondary
#BAB182
accent
#BD57D1
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81