#4052CB#4052CB
#4052CB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.187 H 271.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4052CB |
|---|---|
| RGB | rgb(64, 82, 203) |
| HSL | hsl(232, 57%, 52%) |
| HSV | hsv(232, 68%, 80%) |
| CMYK | cmyk(68.5%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(40.30, 32.86, -64.92) |
| CIE-LCH | lch(40.30, 72.76, 296.85°) |
| OKLab | oklab(49.83% 0.0045 -0.1872) |
| OKLCH | oklch(49.83% 0.187 271.4) |
| XYZ | xyz(15.9075, 11.4348, 57.8572) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.05
Blue Blue
#2242C7
ΔE00 5.06
Blue (survey)
#0343DF
ΔE00 5.11
Iris
#6258C4
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.68
Azul
#1D5DEC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4052CB #CBB940
analogous
#4098CB #4052CB #7340CB
triadic
#4052CB #CB4052 #52CB40
tetradic
#4052CB #CB4098 #CBB940 #40CB73
square
#4052CB #CB4098 #CBB940 #40CB73
split-complementary
#4052CB #CB7340 #98CB40
monochromatic
#1F2A72 #2C3BA2 #4052CB #707ED8 #A0A9E5
Accessibility & contrast
On white
6.39
#4052CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#4052CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4052CB
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4052CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4052CB | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4052cb; /* rgb */ color: rgb(64, 82, 203); /* oklch */ color: oklch(49.8% 0.187 271.4);
Tailwind
colors: {
custom: {
50: '#8682dc',
500: '#4052cb',
950: '#000000',
},
}SCSS
$custom: #4052cb; $custom-light: #8682dc; $custom-dark: #000000;
JSON
{
"hex": "#4052cb",
"rgb": {
"r": 64,
"g": 82,
"b": 203
},
"hsl": {
"h": 232.23,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.49825,
"c": 0.18722,
"h": 271.4
},
"luminance": 0.11436
}Semantic roles & 50–950 ramp
primary
#4052CB
secondary
#D2CA95
accent
#CD47E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83