#4152BF#4152BF
#4152BF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.171 H 271.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4152BF |
|---|---|
| RGB | rgb(65, 82, 191) |
| HSL | hsl(232, 50%, 50%) |
| HSV | hsv(232, 66%, 75%) |
| CMYK | cmyk(66%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(39.44, 28.79, -59.34) |
| CIE-LCH | lch(39.44, 65.96, 295.88°) |
| OKLab | oklab(48.91% 0.0055 -0.1708) |
| OKLCH | oklch(48.91% 0.171 271.8) |
| XYZ | xyz(14.5981, 10.9187, 50.6183) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.41
Sapphire
#0F52BA
ΔE00 5.02
Blue Blue
#2242C7
ΔE00 5.11
Iris
#6258C4
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 5.94
Blue (survey)
#0343DF
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152BF #BFAE41
analogous
#4191BF #4152BF #6F41BF
triadic
#4152BF #BF4152 #52BF41
tetradic
#4152BF #BF4191 #BFAE41 #41BF6F
square
#4152BF #BF4191 #BFAE41 #41BF6F
split-complementary
#4152BF #BF6F41 #91BF41
monochromatic
#222B64 #313E92 #4152BF #6F7CCE #9DA5DE
Accessibility & contrast
On white
6.60
#4152BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#4152BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152BF
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152BF | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4152bf; /* rgb */ color: rgb(65, 82, 191); /* oklch */ color: oklch(48.9% 0.171 271.8);
Tailwind
colors: {
custom: {
50: '#8482d3',
500: '#4152bf',
950: '#000000',
},
}SCSS
$custom: #4152bf; $custom-light: #8482d3; $custom-dark: #000000;
JSON
{
"hex": "#4152bf",
"rgb": {
"r": 65,
"g": 82,
"b": 191
},
"hsl": {
"h": 231.905,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.48912,
"c": 0.17085,
"h": 271.8
},
"luminance": 0.1092
}Semantic roles & 50–950 ramp
primary
#4152BF
secondary
#CAC292
accent
#C64FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83