#4152B7#4152B7
#4152B7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.160 H 271.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4152B7 |
|---|---|
| RGB | rgb(65, 82, 183) |
| HSL | hsl(231, 48%, 49%) |
| HSV | hsv(231, 64%, 72%) |
| CMYK | cmyk(64.5%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(38.86, 25.97, -55.61) |
| CIE-LCH | lch(38.86, 61.37, 295.03°) |
| OKLab | oklab(48.29% 0.0052 -0.1598) |
| OKLCH | oklch(48.29% 0.16 271.9) |
| XYZ | xyz(13.7416, 10.5761, 46.1078) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.77
Warm Blue
#4B57DB
ΔE00 5.45
Blue Blue
#2242C7
ΔE00 5.46
Iris
#6258C4
ΔE00 5.91
Ocean Blue
#4F42B5
ΔE00 6.03
Cobalt
#0047AB
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152B7 #B7A641
analogous
#418DB7 #4152B7 #6B41B7
triadic
#4152B7 #B74152 #52B741
tetradic
#4152B7 #B7418D #B7A641 #41B76B
square
#4152B7 #B7418D #B7A641 #41B76B
split-complementary
#4152B7 #B76B41 #8DB741
monochromatic
#212A5D #313E8A #4152B7 #6B79CA #98A2DA
Accessibility & contrast
On white
6.74
#4152B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#4152B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152B7
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152B7 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4152b7; /* rgb */ color: rgb(65, 82, 183); /* oklch */ color: oklch(48.3% 0.160 271.9);
Tailwind
colors: {
custom: {
50: '#8282cd',
500: '#4152b7',
950: '#000000',
},
}SCSS
$custom: #4152b7; $custom-light: #8282cd; $custom-dark: #000000;
JSON
{
"hex": "#4152b7",
"rgb": {
"r": 65,
"g": 82,
"b": 183
},
"hsl": {
"h": 231.356,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.48289,
"c": 0.15985,
"h": 271.9
},
"luminance": 0.10577
}Semantic roles & 50–950 ramp
primary
#4152B7
secondary
#C6BE8E
accent
#C451D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82