#42479B#42479B
#42479B is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.135 H 276.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #42479B |
|---|---|
| RGB | rgb(66, 71, 155) |
| HSL | hsl(237, 40%, 43%) |
| HSV | hsv(237, 57%, 61%) |
| CMYK | cmyk(57.4%, 54.2%, 0%, 39.2%) |
| CIE-LAB | lab(34.05, 23.54, -46.69) |
| CIE-LCH | lch(34.05, 52.29, 296.76°) |
| OKLab | oklab(44.07% 0.0159 -0.1336) |
| OKLCH | oklch(44.07% 0.135 276.8) |
| XYZ | xyz(10.4145, 8.0306, 32.0052) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.43
Darkslateblue
#483D8B
ΔE00 4.54
Ocean Blue
#4F42B5
ΔE00 5.25
Twilight
#4E518B
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.95
Cobalt
#0047AB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42479B #9B9642
analogous
#42739B #42479B #69429B
triadic
#42479B #9B4247 #479B42
tetradic
#42479B #9B4273 #9B9642 #429B69
square
#42479B #9B4273 #9B9642 #429B69
split-complementary
#42479B #9B6942 #739B42
monochromatic
#1D2045 #303370 #42479B #5F64BB #8A8ECD
Accessibility & contrast
On white
8.06
#42479B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#42479B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42479B
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42479B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42479B | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#0F5A6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #42479b; /* rgb */ color: rgb(66, 71, 155); /* oklch */ color: oklch(44.1% 0.135 276.8);
Tailwind
colors: {
custom: {
50: '#7e7ab9',
500: '#42479b',
950: '#000000',
},
}SCSS
$custom: #42479b; $custom-light: #7e7ab9; $custom-dark: #000000;
JSON
{
"hex": "#42479b",
"rgb": {
"r": 66,
"g": 71,
"b": 155
},
"hsl": {
"h": 236.629,
"s": 40.271,
"l": 43.333
},
"oklch": {
"l": 0.44069,
"c": 0.13458,
"h": 276.8
},
"luminance": 0.08031
}Semantic roles & 50–950 ramp
primary
#42479B
secondary
#B8B581
accent
#C958D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80