#42479F#42479F
#42479F is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.140 H 276.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #42479F |
|---|---|
| RGB | rgb(66, 71, 159) |
| HSL | hsl(237, 41%, 44%) |
| HSV | hsv(237, 58%, 62%) |
| CMYK | cmyk(58.5%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(34.33, 24.91, -48.65) |
| CIE-LCH | lch(34.33, 54.66, 297.12°) |
| OKLab | oklab(44.37% 0.0161 -0.1394) |
| OKLCH | oklch(44.37% 0.14 276.6) |
| XYZ | xyz(10.7560, 8.1672, 33.8038) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.63
Ocean Blue
#4F42B5
ΔE00 4.71
Darkslateblue
#483D8B
ΔE00 4.88
Sapphire (survey)
#2138AB
ΔE00 5.63
Twilight
#4E518B
ΔE00 5.86
Cobalt
#0047AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42479F #9F9A42
analogous
#42769F #42479F #6C429F
triadic
#42479F #9F4247 #479F42
tetradic
#42479F #9F4276 #9F9A42 #429F6C
square
#42479F #9F4276 #9F9A42 #429F6C
split-complementary
#42479F #9F6C42 #769F42
monochromatic
#1E2049 #303474 #42479F #6166BD #8C90CF
Accessibility & contrast
On white
7.97
#42479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#42479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42479F
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42479F | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C55A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#055B6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #42479f; /* rgb */ color: rgb(66, 71, 159); /* oklch */ color: oklch(44.4% 0.140 276.6);
Tailwind
colors: {
custom: {
50: '#7f7abc',
500: '#42479f',
950: '#000000',
},
}SCSS
$custom: #42479f; $custom-light: #7f7abc; $custom-dark: #000000;
JSON
{
"hex": "#42479f",
"rgb": {
"r": 66,
"g": 71,
"b": 159
},
"hsl": {
"h": 236.774,
"s": 41.333,
"l": 44.118
},
"oklch": {
"l": 0.4437,
"c": 0.14033,
"h": 276.6
},
"luminance": 0.08168
}Semantic roles & 50–950 ramp
primary
#42479F
secondary
#BAB782
accent
#CB57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81