#4152C2#4152C2
#4152C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.175 H 271.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4152C2 |
|---|---|
| RGB | rgb(65, 82, 194) |
| HSL | hsl(232, 51%, 51%) |
| HSV | hsv(232, 66%, 76%) |
| CMYK | cmyk(66.5%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.67, 29.84, -60.73) |
| CIE-LCH | lch(39.67, 67.66, 296.17°) |
| OKLab | oklab(49.15% 0.0055 -0.1748) |
| OKLCH | oklch(49.15% 0.175 271.8) |
| XYZ | xyz(14.9316, 11.0521, 52.3749) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.04
Blue Blue
#2242C7
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.18
Iris
#6258C4
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152C2 #C2B141
analogous
#4192C2 #4152C2 #7041C2
triadic
#4152C2 #C24152 #52C241
tetradic
#4152C2 #C24192 #C2B141 #41C270
square
#4152C2 #C24192 #C2B141 #41C270
split-complementary
#4152C2 #C27041 #92C241
monochromatic
#212A67 #303D96 #4152C2 #6F7CD1 #9EA6E0
Accessibility & contrast
On white
6.54
#4152C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#4152C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152C2
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152C2 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4152c2; /* rgb */ color: rgb(65, 82, 194); /* oklch */ color: oklch(49.2% 0.175 271.8);
Tailwind
colors: {
custom: {
50: '#8482d5',
500: '#4152c2',
950: '#000000',
},
}SCSS
$custom: #4152c2; $custom-light: #8482d5; $custom-dark: #000000;
JSON
{
"hex": "#4152c2",
"rgb": {
"r": 65,
"g": 82,
"b": 194
},
"hsl": {
"h": 232.093,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.49151,
"c": 0.17492,
"h": 271.8
},
"luminance": 0.11053
}Semantic roles & 50–950 ramp
primary
#4152C2
secondary
#CCC493
accent
#C84DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83