#42519B#42519B
#42519B is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.121 H 272.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #42519B |
|---|---|
| RGB | rgb(66, 81, 155) |
| HSL | hsl(230, 40%, 43%) |
| HSV | hsv(230, 57%, 61%) |
| CMYK | cmyk(57.4%, 47.7%, 0%, 39.2%) |
| CIE-LAB | lab(36.76, 17.01, -42.33) |
| CIE-LCH | lch(36.76, 45.62, 291.89°) |
| OKLab | oklab(46.12% 0.0047 -0.1207) |
| OKLCH | oklch(46.12% 0.121 272.2) |
| XYZ | xyz(11.1037, 9.4089, 32.2350) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.33
Denim Blue
#3B5B92
ΔE00 4.95
Dusky Blue
#475F94
ΔE00 5.15
Cobalt (survey)
#1E488F
ΔE00 5.65
Blueberry
#464196
ΔE00 5.84
Dusk Blue
#26538D
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42519B #9B8C42
analogous
#427D9B #42519B #5F429B
triadic
#42519B #9B4251 #519B42
tetradic
#42519B #9B427D #9B8C42 #429B5F
square
#42519B #9B427D #9B8C42 #429B5F
split-complementary
#42519B #9B5F42 #7D9B42
monochromatic
#1D2445 #303B70 #42519B #5F6FBB #8A95CD
Accessibility & contrast
On white
7.29
#42519B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#42519B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42519B
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42519B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42519B | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5B9E
Deuteranopia (green-blind)
#225399
Tritanopia (blue-blind)
#0B616E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #42519b; /* rgb */ color: rgb(66, 81, 155); /* oklch */ color: oklch(46.1% 0.121 272.2);
Tailwind
colors: {
custom: {
50: '#7e81b9',
500: '#42519b',
950: '#000000',
},
}SCSS
$custom: #42519b; $custom-light: #7e81b9; $custom-dark: #000000;
JSON
{
"hex": "#42519b",
"rgb": {
"r": 66,
"g": 81,
"b": 155
},
"hsl": {
"h": 229.888,
"s": 40.271,
"l": 43.333
},
"oklch": {
"l": 0.46118,
"c": 0.1208,
"h": 272.2
},
"luminance": 0.0941
}Semantic roles & 50–950 ramp
primary
#42519B
secondary
#B8AF81
accent
#BC58D0
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80