#4152CE#4152CE
#4152CE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.191 H 271.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4152CE |
|---|---|
| RGB | rgb(65, 82, 206) |
| HSL | hsl(233, 59%, 53%) |
| HSV | hsv(233, 68%, 81%) |
| CMYK | cmyk(68.4%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(40.59, 34.04, -66.17) |
| CIE-LCH | lch(40.59, 74.42, 297.22°) |
| OKLab | oklab(50.13% 0.0055 -0.1908) |
| OKLCH | oklch(50.13% 0.191 271.7) |
| XYZ | xyz(16.3341, 11.6131, 59.7613) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.68
Blue (survey)
#0343DF
ΔE00 5.03
Iris
#6258C4
ΔE00 5.19
Blue Blue
#2242C7
ΔE00 5.20
Azul
#1D5DEC
ΔE00 5.60
Electric Blue
#0652FF
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152CE #CEBD41
analogous
#4198CE #4152CE #7641CE
triadic
#4152CE #CE4152 #52CE41
tetradic
#4152CE #CE4198 #CEBD41 #41CE76
square
#4152CE #CE4198 #CEBD41 #41CE76
split-complementary
#4152CE #CE7641 #98CE41
monochromatic
#1E2976 #2B3AA7 #4152CE #727EDB #A2ABE7
Accessibility & contrast
On white
6.32
#4152CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#4152CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152CE
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152CE | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4152ce; /* rgb */ color: rgb(65, 82, 206); /* oklch */ color: oklch(50.1% 0.191 271.7);
Tailwind
colors: {
custom: {
50: '#8782de',
500: '#4152ce',
950: '#000000',
},
}SCSS
$custom: #4152ce; $custom-light: #8782de; $custom-dark: #000000;
JSON
{
"hex": "#4152ce",
"rgb": {
"r": 65,
"g": 82,
"b": 206
},
"hsl": {
"h": 232.766,
"s": 58.996,
"l": 53.137
},
"oklch": {
"l": 0.50129,
"c": 0.19092,
"h": 271.7
},
"luminance": 0.11615
}Semantic roles & 50–950 ramp
primary
#4152CE
secondary
#D4CC97
accent
#CF46E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83