#4152BC#4152BC
#4152BC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.167 H 271.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4152BC |
|---|---|
| RGB | rgb(65, 82, 188) |
| HSL | hsl(232, 49%, 50%) |
| HSV | hsv(232, 65%, 74%) |
| CMYK | cmyk(65.4%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(39.22, 27.73, -57.95) |
| CIE-LCH | lch(39.22, 64.24, 295.57°) |
| OKLab | oklab(48.68% 0.0054 -0.1667) |
| OKLCH | oklch(48.68% 0.167 271.8) |
| XYZ | xyz(14.2713, 10.7880, 48.8974) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 4.90
Blue Blue
#2242C7
ΔE00 5.21
Iris
#6258C4
ΔE00 5.62
Ocean Blue
#4F42B5
ΔE00 5.95
Blue (survey)
#0343DF
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152BC #BCAB41
analogous
#4190BC #4152BC #6D41BC
triadic
#4152BC #BC4152 #52BC41
tetradic
#4152BC #BC4190 #BCAB41 #41BC6D
square
#4152BC #BC4190 #BCAB41 #41BC6D
split-complementary
#4152BC #BC6D41 #90BC41
monochromatic
#222A61 #313E8F #4152BC #6E7BCD #9BA4DC
Accessibility & contrast
On white
6.65
#4152BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#4152BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152BC
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152BC | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4152bc; /* rgb */ color: rgb(65, 82, 188); /* oklch */ color: oklch(48.7% 0.167 271.8);
Tailwind
colors: {
custom: {
50: '#8382d1',
500: '#4152bc',
950: '#000000',
},
}SCSS
$custom: #4152bc; $custom-light: #8382d1; $custom-dark: #000000;
JSON
{
"hex": "#4152bc",
"rgb": {
"r": 65,
"g": 82,
"b": 188
},
"hsl": {
"h": 231.707,
"s": 48.617,
"l": 49.608
},
"oklch": {
"l": 0.48676,
"c": 0.16675,
"h": 271.8
},
"luminance": 0.10789
}Semantic roles & 50–950 ramp
primary
#4152BC
secondary
#C9C190
accent
#C550D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82