#4152AA#4152AA
#4152AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.142 H 271.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4152AA |
|---|---|
| RGB | rgb(65, 82, 170) |
| HSL | hsl(230, 45%, 46%) |
| HSV | hsv(230, 62%, 67%) |
| CMYK | cmyk(61.8%, 51.8%, 0%, 33.3%) |
| CIE-LAB | lab(37.95, 21.39, -49.39) |
| CIE-LCH | lch(37.95, 53.83, 293.42°) |
| OKLab | oklab(47.32% 0.0043 -0.1415) |
| OKLCH | oklch(47.32% 0.142 271.7) |
| XYZ | xyz(12.4505, 10.0597, 39.3080) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.94
Denim Blue
#3B5B92
ΔE00 5.58
Cobalt
#0047AB
ΔE00 5.71
Dusky Blue
#475F94
ΔE00 5.81
Twilight
#4E518B
ΔE00 6.31
Blueberry
#464196
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152AA #AA9941
analogous
#4186AA #4152AA #6441AA
triadic
#4152AA #AA4152 #52AA41
tetradic
#4152AA #AA4186 #AA9941 #41AA64
square
#4152AA #AA4186 #AA9941 #41AA64
split-complementary
#4152AA #AA6441 #86AA41
monochromatic
#1F2751 #303D7E #4152AA #6474C4 #919CD5
Accessibility & contrast
On white
6.97
#4152AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#4152AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152AA
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152AA | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#0155A8
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4152aa; /* rgb */ color: rgb(65, 82, 170); /* oklch */ color: oklch(47.3% 0.142 271.7);
Tailwind
colors: {
custom: {
50: '#8082c4',
500: '#4152aa',
950: '#000000',
},
}SCSS
$custom: #4152aa; $custom-light: #8082c4; $custom-dark: #000000;
JSON
{
"hex": "#4152aa",
"rgb": {
"r": 65,
"g": 82,
"b": 170
},
"hsl": {
"h": 230.286,
"s": 44.681,
"l": 46.078
},
"oklch": {
"l": 0.47317,
"c": 0.14155,
"h": 271.7
},
"luminance": 0.10061
}Semantic roles & 50–950 ramp
primary
#4152AA
secondary
#C0B787
accent
#C053D4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82