#4152B3#4152B3
#4152B3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.154 H 271.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4152B3 |
|---|---|
| RGB | rgb(65, 82, 179) |
| HSL | hsl(231, 47%, 48%) |
| HSV | hsv(231, 64%, 70%) |
| CMYK | cmyk(63.7%, 54.2%, 0%, 29.8%) |
| CIE-LAB | lab(38.57, 24.56, -53.71) |
| CIE-LCH | lch(38.57, 59.06, 294.57°) |
| OKLab | oklab(47.98% 0.005 -0.1542) |
| OKLCH | oklch(47.98% 0.154 271.8) |
| XYZ | xyz(13.3312, 10.4119, 43.9463) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 5.73
Cobalt
#0047AB
ΔE00 5.89
Warm Blue
#4B57DB
ΔE00 5.98
Ocean Blue
#4F42B5
ΔE00 6.16
Iris
#6258C4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152B3 #B3A241
analogous
#418BB3 #4152B3 #6941B3
triadic
#4152B3 #B34152 #52B341
tetradic
#4152B3 #B3418B #B3A241 #41B369
square
#4152B3 #B3418B #B3A241 #41B369
split-complementary
#4152B3 #B36941 #8BB341
monochromatic
#202959 #313D86 #4152B3 #6977C8 #96A0D9
Accessibility & contrast
On white
6.81
#4152B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#4152B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152B3
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152B3 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E60B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4152b3; /* rgb */ color: rgb(65, 82, 179); /* oklch */ color: oklch(48.0% 0.154 271.8);
Tailwind
colors: {
custom: {
50: '#8182ca',
500: '#4152b3',
950: '#000000',
},
}SCSS
$custom: #4152b3; $custom-light: #8182ca; $custom-dark: #000000;
JSON
{
"hex": "#4152b3",
"rgb": {
"r": 65,
"g": 82,
"b": 179
},
"hsl": {
"h": 231.053,
"s": 46.721,
"l": 47.843
},
"oklch": {
"l": 0.47984,
"c": 0.15428,
"h": 271.8
},
"luminance": 0.10413
}Semantic roles & 50–950 ramp
primary
#4152B3
secondary
#C4BC8B
accent
#C351D6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82