#4152AB#4152AB
#4152AB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.143 H 271.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4152AB |
|---|---|
| RGB | rgb(65, 82, 171) |
| HSL | hsl(230, 45%, 46%) |
| HSV | hsv(230, 62%, 67%) |
| CMYK | cmyk(62%, 52%, 0%, 32.9%) |
| CIE-LAB | lab(38.02, 21.75, -49.88) |
| CIE-LCH | lch(38.02, 54.41, 293.56°) |
| OKLab | oklab(47.39% 0.0044 -0.1429) |
| OKLCH | oklch(47.39% 0.143 271.8) |
| XYZ | xyz(12.5455, 10.0976, 39.8081) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.90
Denim Blue
#3B5B92
ΔE00 5.66
Cobalt
#0047AB
ΔE00 5.71
Dusky Blue
#475F94
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.42
Twilight
#4E518B
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152AB #AB9A41
analogous
#4187AB #4152AB #6541AB
triadic
#4152AB #AB4152 #52AB41
tetradic
#4152AB #AB4187 #AB9A41 #41AB65
square
#4152AB #AB4187 #AB9A41 #41AB65
split-complementary
#4152AB #AB6541 #87AB41
monochromatic
#1F2752 #303D7F #4152AB #6574C4 #919CD5
Accessibility & contrast
On white
6.95
#4152AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#4152AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152AB
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152AB | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4152ab; /* rgb */ color: rgb(65, 82, 171); /* oklch */ color: oklch(47.4% 0.143 271.8);
Tailwind
colors: {
custom: {
50: '#8082c5',
500: '#4152ab',
950: '#000000',
},
}SCSS
$custom: #4152ab; $custom-light: #8082c5; $custom-dark: #000000;
JSON
{
"hex": "#4152ab",
"rgb": {
"r": 65,
"g": 82,
"b": 171
},
"hsl": {
"h": 230.377,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.4739,
"c": 0.14298,
"h": 271.8
},
"luminance": 0.10099
}Semantic roles & 50–950 ramp
primary
#4152AB
secondary
#C1B787
accent
#C053D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82