#4252AA#4252AA
#4252AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.141 H 272.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4252AA |
|---|---|
| RGB | rgb(66, 82, 170) |
| HSL | hsl(231, 44%, 46%) |
| HSV | hsv(231, 61%, 67%) |
| CMYK | cmyk(61.2%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(38.01, 21.58, -49.29) |
| CIE-LCH | lch(38.01, 53.81, 293.65°) |
| OKLab | oklab(47.38% 0.0054 -0.1412) |
| OKLCH | oklch(47.38% 0.141 272.2) |
| XYZ | xyz(12.5174, 10.0941, 39.3111) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.11
Denim Blue
#3B5B92
ΔE00 5.68
Dusky Blue
#475F94
ΔE00 5.85
Cobalt
#0047AB
ΔE00 5.85
Twilight
#4E518B
ΔE00 6.23
Blueberry
#464196
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4252AA #AA9A42
analogous
#4286AA #4252AA #6642AA
triadic
#4252AA #AA4252 #52AA42
tetradic
#4252AA #AA4286 #AA9A42 #42AA66
square
#4252AA #AA4286 #AA9A42 #42AA66
split-complementary
#4252AA #AA6642 #86AA42
monochromatic
#202752 #313D7E #4252AA #6674C3 #929CD5
Accessibility & contrast
On white
6.96
#4252AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#4252AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4252AA
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4252AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4252AA | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4252aa; /* rgb */ color: rgb(66, 82, 170); /* oklch */ color: oklch(47.4% 0.141 272.2);
Tailwind
colors: {
custom: {
50: '#8082c4',
500: '#4252aa',
950: '#000000',
},
}SCSS
$custom: #4252aa; $custom-light: #8082c4; $custom-dark: #000000;
JSON
{
"hex": "#4252aa",
"rgb": {
"r": 66,
"g": 82,
"b": 170
},
"hsl": {
"h": 230.769,
"s": 44.068,
"l": 46.275
},
"oklch": {
"l": 0.4738,
"c": 0.14126,
"h": 272.2
},
"luminance": 0.10095
}Semantic roles & 50–950 ramp
primary
#4252AA
secondary
#C0B788
accent
#C054D4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82