#4252BA#4252BA
#4252BA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.164 H 272.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4252BA |
|---|---|
| RGB | rgb(66, 82, 186) |
| HSL | hsl(232, 48%, 49%) |
| HSV | hsv(232, 65%, 73%) |
| CMYK | cmyk(64.5%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(39.13, 27.19, -56.92) |
| CIE-LCH | lch(39.13, 63.08, 295.54°) |
| OKLab | oklab(48.58% 0.0064 -0.1636) |
| OKLCH | oklch(48.58% 0.164 272.2) |
| XYZ | xyz(14.1240, 10.7368, 47.7729) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.98
Warm Blue
#4B57DB
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.34
Iris
#6258C4
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 5.87
Cobalt
#0047AB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4252BA #BAAA42
analogous
#428EBA #4252BA #6E42BA
triadic
#4252BA #BA4252 #52BA42
tetradic
#4252BA #BA428E #BAAA42 #42BA6E
square
#4252BA #BA428E #BAAA42 #42BA6E
split-complementary
#4252BA #BA6E42 #8EBA42
monochromatic
#222A60 #323E8D #4252BA #6E7ACB #9BA4DB
Accessibility & contrast
On white
6.67
#4252BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#4252BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4252BA
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4252BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4252BA | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4252ba; /* rgb */ color: rgb(66, 82, 186); /* oklch */ color: oklch(48.6% 0.164 272.2);
Tailwind
colors: {
custom: {
50: '#8382cf',
500: '#4252ba',
950: '#000000',
},
}SCSS
$custom: #4252ba; $custom-light: #8382cf; $custom-dark: #000000;
JSON
{
"hex": "#4252ba",
"rgb": {
"r": 66,
"g": 82,
"b": 186
},
"hsl": {
"h": 232,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.4858,
"c": 0.16372,
"h": 272.2
},
"luminance": 0.10738
}Semantic roles & 50–950 ramp
primary
#4252BA
secondary
#C8C090
accent
#C551D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82