#4152B5#4152B5
#4152B5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.157 H 271.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4152B5 |
|---|---|
| RGB | rgb(65, 82, 181) |
| HSL | hsl(231, 47%, 48%) |
| HSV | hsv(231, 64%, 71%) |
| CMYK | cmyk(64.1%, 54.7%, 0%, 29%) |
| CIE-LAB | lab(38.71, 25.27, -54.66) |
| CIE-LCH | lch(38.71, 60.22, 294.81°) |
| OKLab | oklab(48.14% 0.0051 -0.157) |
| OKLCH | oklch(48.14% 0.157 271.8) |
| XYZ | xyz(13.5350, 10.4934, 45.0193) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 5.59
Warm Blue
#4B57DB
ΔE00 5.71
Cobalt
#0047AB
ΔE00 5.98
Iris
#6258C4
ΔE00 6.05
Ocean Blue
#4F42B5
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152B5 #B5A441
analogous
#418CB5 #4152B5 #6A41B5
triadic
#4152B5 #B54152 #52B541
tetradic
#4152B5 #B5418C #B5A441 #41B56A
square
#4152B5 #B5418C #B5A441 #41B56A
split-complementary
#4152B5 #B56A41 #8CB541
monochromatic
#21295B #313E88 #4152B5 #6A78C9 #97A1DA
Accessibility & contrast
On white
6.78
#4152B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#4152B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152B5
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152B5 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0760B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4152b5; /* rgb */ color: rgb(65, 82, 181); /* oklch */ color: oklch(48.1% 0.157 271.8);
Tailwind
colors: {
custom: {
50: '#8282cc',
500: '#4152b5',
950: '#000000',
},
}SCSS
$custom: #4152b5; $custom-light: #8282cc; $custom-dark: #000000;
JSON
{
"hex": "#4152b5",
"rgb": {
"r": 65,
"g": 82,
"b": 181
},
"hsl": {
"h": 231.207,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.48136,
"c": 0.15707,
"h": 271.8
},
"luminance": 0.10495
}Semantic roles & 50–950 ramp
primary
#4152B5
secondary
#C5BD8C
accent
#C351D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82