#4152CA#4152CA
#4152CA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.186 H 271.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4152CA |
|---|---|
| RGB | rgb(65, 82, 202) |
| HSL | hsl(233, 56%, 52%) |
| HSV | hsv(233, 68%, 79%) |
| CMYK | cmyk(67.8%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(40.28, 32.65, -64.37) |
| CIE-LCH | lch(40.28, 72.18, 296.89°) |
| OKLab | oklab(49.8% 0.0056 -0.1855) |
| OKLCH | oklch(49.8% 0.186 271.7) |
| XYZ | xyz(15.8543, 11.4212, 57.2346) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.10
Blue Blue
#2242C7
ΔE00 5.08
Blue (survey)
#0343DF
ΔE00 5.20
Iris
#6258C4
ΔE00 5.20
Sapphire
#0F52BA
ΔE00 5.72
Azul
#1D5DEC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152CA #CAB941
analogous
#4196CA #4152CA #7541CA
triadic
#4152CA #CA4152 #52CA41
tetradic
#4152CA #CA4196 #CAB941 #41CA75
square
#4152CA #CA4196 #CAB941 #41CA75
split-complementary
#4152CA #CA7541 #96CA41
monochromatic
#202A71 #2D3BA1 #4152CA #717ED7 #A1A9E5
Accessibility & contrast
On white
6.39
#4152CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#4152CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152CA
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152CA | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4152ca; /* rgb */ color: rgb(65, 82, 202); /* oklch */ color: oklch(49.8% 0.186 271.7);
Tailwind
colors: {
custom: {
50: '#8682db',
500: '#4152ca',
950: '#000000',
},
}SCSS
$custom: #4152ca; $custom-light: #8682db; $custom-dark: #000000;
JSON
{
"hex": "#4152ca",
"rgb": {
"r": 65,
"g": 82,
"b": 202
},
"hsl": {
"h": 232.555,
"s": 56.379,
"l": 52.353
},
"oklch": {
"l": 0.49799,
"c": 0.18563,
"h": 271.7
},
"luminance": 0.11423
}Semantic roles & 50–950 ramp
primary
#4152CA
secondary
#D1CA96
accent
#CD48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83