#4152B9#4152B9
#4152B9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.163 H 271.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4152B9 |
|---|---|
| RGB | rgb(65, 82, 185) |
| HSL | hsl(232, 48%, 49%) |
| HSV | hsv(232, 65%, 73%) |
| CMYK | cmyk(64.9%, 55.7%, 0%, 27.5%) |
| CIE-LAB | lab(39.00, 26.68, -56.55) |
| CIE-LCH | lch(39.00, 62.52, 295.25°) |
| OKLab | oklab(48.44% 0.0053 -0.1625) |
| OKLCH | oklch(48.44% 0.163 271.9) |
| XYZ | xyz(13.9513, 10.6600, 47.2119) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.81
Warm Blue
#4B57DB
ΔE00 5.18
Blue Blue
#2242C7
ΔE00 5.35
Iris
#6258C4
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 5.98
Cobalt
#0047AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152B9 #B9A841
analogous
#418EB9 #4152B9 #6C41B9
triadic
#4152B9 #B94152 #52B941
tetradic
#4152B9 #B9418E #B9A841 #41B96C
square
#4152B9 #B9418E #B9A841 #41B96C
split-complementary
#4152B9 #B96C41 #8EB941
monochromatic
#212A5E #313E8C #4152B9 #6C79CB #99A3DB
Accessibility & contrast
On white
6.70
#4152B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#4152B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152B9
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152B9 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4152b9; /* rgb */ color: rgb(65, 82, 185); /* oklch */ color: oklch(48.4% 0.163 271.9);
Tailwind
colors: {
custom: {
50: '#8382cf',
500: '#4152b9',
950: '#000000',
},
}SCSS
$custom: #4152b9; $custom-light: #8382cf; $custom-dark: #000000;
JSON
{
"hex": "#4152b9",
"rgb": {
"r": 65,
"g": 82,
"b": 185
},
"hsl": {
"h": 231.5,
"s": 48,
"l": 49.02
},
"oklch": {
"l": 0.48443,
"c": 0.16263,
"h": 271.9
},
"luminance": 0.10661
}Semantic roles & 50–950 ramp
primary
#4152B9
secondary
#C7BF8F
accent
#C450D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82