#4252BF#4252BF
#4252BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.171 H 272.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4252BF |
|---|---|
| RGB | rgb(66, 82, 191) |
| HSL | hsl(232, 49%, 50%) |
| HSV | hsv(232, 65%, 75%) |
| CMYK | cmyk(65.4%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(39.50, 28.94, -59.24) |
| CIE-LCH | lch(39.50, 65.94, 296.04°) |
| OKLab | oklab(48.97% 0.0065 -0.1704) |
| OKLCH | oklch(48.97% 0.171 272.2) |
| XYZ | xyz(14.6649, 10.9531, 50.6215) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.36
Blue Blue
#2242C7
ΔE00 5.15
Sapphire
#0F52BA
ΔE00 5.17
Iris
#6258C4
ΔE00 5.34
Ocean Blue
#4F42B5
ΔE00 5.86
Blue (survey)
#0343DF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4252BF #BFAF42
analogous
#4290BF #4252BF #7042BF
triadic
#4252BF #BF4252 #52BF42
tetradic
#4252BF #BF4290 #BFAF42 #42BF70
square
#4252BF #BF4290 #BFAF42 #42BF70
split-complementary
#4252BF #BF7042 #90BF42
monochromatic
#222B65 #323E92 #4252BF #707CCE #9DA6DE
Accessibility & contrast
On white
6.58
#4252BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#4252BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4252BF
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4252BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4252BF | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4252bf; /* rgb */ color: rgb(66, 82, 191); /* oklch */ color: oklch(49.0% 0.171 272.2);
Tailwind
colors: {
custom: {
50: '#8482d3',
500: '#4252bf',
950: '#000000',
},
}SCSS
$custom: #4252bf; $custom-light: #8482d3; $custom-dark: #000000;
JSON
{
"hex": "#4252bf",
"rgb": {
"r": 66,
"g": 82,
"b": 191
},
"hsl": {
"h": 232.32,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.48971,
"c": 0.17057,
"h": 272.2
},
"luminance": 0.10954
}Semantic roles & 50–950 ramp
primary
#4252BF
secondary
#CAC393
accent
#C74FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83