#4252AC#4252AC
#4252AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.144 H 272.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4252AC |
|---|---|
| RGB | rgb(66, 82, 172) |
| HSL | hsl(231, 45%, 47%) |
| HSV | hsv(231, 62%, 67%) |
| CMYK | cmyk(61.6%, 52.3%, 0%, 32.5%) |
| CIE-LAB | lab(38.15, 22.28, -50.26) |
| CIE-LCH | lch(38.15, 54.98, 293.91°) |
| OKLab | oklab(47.53% 0.0055 -0.144) |
| OKLCH | oklch(47.53% 0.144 272.2) |
| XYZ | xyz(12.7080, 10.1704, 40.3151) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.03
Denim Blue
#3B5B92
ΔE00 5.85
Cobalt
#0047AB
ΔE00 5.86
Dusky Blue
#475F94
ΔE00 6.02
Blue Blue
#2242C7
ΔE00 6.35
Ocean Blue
#4F42B5
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4252AC #AC9C42
analogous
#4287AC #4252AC #6742AC
triadic
#4252AC #AC4252 #52AC42
tetradic
#4252AC #AC4287 #AC9C42 #42AC67
square
#4252AC #AC4287 #AC9C42 #42AC67
split-complementary
#4252AC #AC6742 #87AC42
monochromatic
#202854 #313D80 #4252AC #6775C5 #939DD6
Accessibility & contrast
On white
6.92
#4252AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#4252AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4252AC
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4252AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4252AC | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5FAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4252ac; /* rgb */ color: rgb(66, 82, 172); /* oklch */ color: oklch(47.5% 0.144 272.2);
Tailwind
colors: {
custom: {
50: '#8182c5',
500: '#4252ac',
950: '#000000',
},
}SCSS
$custom: #4252ac; $custom-light: #8182c5; $custom-dark: #000000;
JSON
{
"hex": "#4252ac",
"rgb": {
"r": 66,
"g": 82,
"b": 172
},
"hsl": {
"h": 230.943,
"s": 44.538,
"l": 46.667
},
"oklch": {
"l": 0.47525,
"c": 0.14412,
"h": 272.2
},
"luminance": 0.10171
}Semantic roles & 50–950 ramp
primary
#4252AC
secondary
#C1B989
accent
#C154D4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82