#42519C#42519C
#42519C is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.122 H 272.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #42519C |
|---|---|
| RGB | rgb(66, 81, 156) |
| HSL | hsl(230, 41%, 44%) |
| HSV | hsv(230, 58%, 61%) |
| CMYK | cmyk(57.7%, 48.1%, 0%, 38.8%) |
| CIE-LAB | lab(36.82, 17.36, -42.83) |
| CIE-LCH | lch(36.82, 46.22, 292.06°) |
| OKLab | oklab(46.19% 0.0049 -0.1222) |
| OKLCH | oklch(46.19% 0.122 272.3) |
| XYZ | xyz(11.1880, 9.4426, 32.6791) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.45
Denim Blue
#3B5B92
ΔE00 5.00
Dusky Blue
#475F94
ΔE00 5.20
Cobalt (survey)
#1E488F
ΔE00 5.69
Blueberry
#464196
ΔE00 5.83
Dusk Blue
#26538D
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42519C #9C8D42
analogous
#427E9C #42519C #60429C
triadic
#42519C #9C4251 #519C42
tetradic
#42519C #9C427E #9C8D42 #429C60
square
#42519C #9C427E #9C8D42 #429C60
split-complementary
#42519C #9C6042 #7E9C42
monochromatic
#1E2446 #303B71 #42519C #606FBC #8B96CE
Accessibility & contrast
On white
7.27
#42519C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#42519C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42519C
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42519C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42519C | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#21539A
Tritanopia (blue-blind)
#09626F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #42519c; /* rgb */ color: rgb(66, 81, 156); /* oklch */ color: oklch(46.2% 0.122 272.3);
Tailwind
colors: {
custom: {
50: '#7e81ba',
500: '#42519c',
950: '#000000',
},
}SCSS
$custom: #42519c; $custom-light: #7e81ba; $custom-dark: #000000;
JSON
{
"hex": "#42519c",
"rgb": {
"r": 66,
"g": 81,
"b": 156
},
"hsl": {
"h": 230,
"s": 40.541,
"l": 43.529
},
"oklch": {
"l": 0.46186,
"c": 0.12228,
"h": 272.3
},
"luminance": 0.09443
}Semantic roles & 50–950 ramp
primary
#42519C
secondary
#B9AF81
accent
#BC57D0
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80