#42479C#42479C
#42479C is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.136 H 276.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #42479C |
|---|---|
| RGB | rgb(66, 71, 156) |
| HSL | hsl(237, 41%, 44%) |
| HSV | hsv(237, 58%, 61%) |
| CMYK | cmyk(57.7%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(34.12, 23.88, -47.18) |
| CIE-LCH | lch(34.12, 52.88, 296.85°) |
| OKLab | oklab(44.14% 0.016 -0.1351) |
| OKLCH | oklch(44.14% 0.136 276.7) |
| XYZ | xyz(10.4988, 8.0643, 32.4494) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.47
Darkslateblue
#483D8B
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 5.11
Twilight
#4E518B
ΔE00 5.50
Sapphire (survey)
#2138AB
ΔE00 5.86
Cobalt
#0047AB
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42479C #9C9742
analogous
#42749C #42479C #6A429C
triadic
#42479C #9C4247 #479C42
tetradic
#42479C #9C4274 #9C9742 #429C6A
square
#42479C #9C4274 #9C9742 #429C6A
split-complementary
#42479C #9C6A42 #749C42
monochromatic
#1E2046 #303371 #42479C #6065BC #8B8ECE
Accessibility & contrast
On white
8.04
#42479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#42479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42479C
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42479C | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13549F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#0D5B6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #42479c; /* rgb */ color: rgb(66, 71, 156); /* oklch */ color: oklch(44.1% 0.136 276.7);
Tailwind
colors: {
custom: {
50: '#7e7aba',
500: '#42479c',
950: '#000000',
},
}SCSS
$custom: #42479c; $custom-light: #7e7aba; $custom-dark: #000000;
JSON
{
"hex": "#42479c",
"rgb": {
"r": 66,
"g": 71,
"b": 156
},
"hsl": {
"h": 236.667,
"s": 40.541,
"l": 43.529
},
"oklch": {
"l": 0.44143,
"c": 0.13602,
"h": 276.7
},
"luminance": 0.08065
}Semantic roles & 50–950 ramp
primary
#42479C
secondary
#B9B681
accent
#CA57D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81