#4152AF#4152AF
#4152AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.149 H 271.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4152AF |
|---|---|
| RGB | rgb(65, 82, 175) |
| HSL | hsl(231, 46%, 47%) |
| HSV | hsv(231, 63%, 69%) |
| CMYK | cmyk(62.9%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(38.29, 23.15, -51.80) |
| CIE-LCH | lch(38.29, 56.74, 294.08°) |
| OKLab | oklab(47.69% 0.0047 -0.1486) |
| OKLCH | oklch(47.69% 0.149 271.8) |
| XYZ | xyz(12.9325, 10.2525, 41.8465) |
| Luminance | 0.1025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.78
Cobalt
#0047AB
ΔE00 5.77
Denim Blue
#3B5B92
ΔE00 6.03
Blue Blue
#2242C7
ΔE00 6.05
Dusky Blue
#475F94
ΔE00 6.25
Ocean Blue
#4F42B5
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152AF #AF9E41
analogous
#4189AF #4152AF #6741AF
triadic
#4152AF #AF4152 #52AF41
tetradic
#4152AF #AF4189 #AF9E41 #41AF67
square
#4152AF #AF4189 #AF9E41 #41AF67
split-complementary
#4152AF #AF6741 #89AF41
monochromatic
#202856 #303D82 #4152AF #6776C6 #939ED7
Accessibility & contrast
On white
6.88
#4152AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4152AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152AF
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152AF | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4152af; /* rgb */ color: rgb(65, 82, 175); /* oklch */ color: oklch(47.7% 0.149 271.8);
Tailwind
colors: {
custom: {
50: '#8182c7',
500: '#4152af',
950: '#000000',
},
}SCSS
$custom: #4152af; $custom-light: #8182c7; $custom-dark: #000000;
JSON
{
"hex": "#4152af",
"rgb": {
"r": 65,
"g": 82,
"b": 175
},
"hsl": {
"h": 230.727,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.47685,
"c": 0.14865,
"h": 271.8
},
"luminance": 0.10254
}Semantic roles & 50–950 ramp
primary
#4152AF
secondary
#C2BA89
accent
#C152D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82