#4052C7#4052C7
#4052C7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.182 H 271.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4052C7 |
|---|---|
| RGB | rgb(64, 82, 199) |
| HSL | hsl(232, 55%, 52%) |
| HSV | hsv(232, 68%, 78%) |
| CMYK | cmyk(67.8%, 58.8%, 0%, 22%) |
| CIE-LAB | lab(39.99, 31.45, -63.11) |
| CIE-LCH | lch(39.99, 70.51, 296.49°) |
| OKLab | oklab(49.5% 0.0045 -0.1819) |
| OKLCH | oklch(49.5% 0.182 271.4) |
| XYZ | xyz(15.4370, 11.2466, 55.3790) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.50
Blue Blue
#2242C7
ΔE00 5.00
Blue (survey)
#0343DF
ΔE00 5.32
Iris
#6258C4
ΔE00 5.36
Sapphire
#0F52BA
ΔE00 5.37
Azul
#1D5DEC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4052C7 #C7B540
analogous
#4096C7 #4052C7 #7240C7
triadic
#4052C7 #C74052 #52C740
tetradic
#4052C7 #C74096 #C7B540 #40C772
square
#4052C7 #C74096 #C7B540 #40C772
split-complementary
#4052C7 #C77240 #96C740
monochromatic
#202A6D #2E3C9C #4052C7 #6F7DD5 #9FA8E3
Accessibility & contrast
On white
6.46
#4052C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#4052C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4052C7
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4052C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4052C7 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4052c7; /* rgb */ color: rgb(64, 82, 199); /* oklch */ color: oklch(49.5% 0.182 271.4);
Tailwind
colors: {
custom: {
50: '#8582d9',
500: '#4052c7',
950: '#000000',
},
}SCSS
$custom: #4052c7; $custom-light: #8582d9; $custom-dark: #000000;
JSON
{
"hex": "#4052c7",
"rgb": {
"r": 64,
"g": 82,
"b": 199
},
"hsl": {
"h": 232,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.49497,
"c": 0.18191,
"h": 271.4
},
"luminance": 0.11248
}Semantic roles & 50–950 ramp
primary
#4052C7
secondary
#CFC794
accent
#CA4ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83