#4252AF#4252AF
#4252AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.148 H 272.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4252AF |
|---|---|
| RGB | rgb(66, 82, 175) |
| HSL | hsl(231, 45%, 47%) |
| HSV | hsv(231, 62%, 69%) |
| CMYK | cmyk(62.3%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(38.35, 23.33, -51.70) |
| CIE-LCH | lch(38.35, 56.72, 294.29°) |
| OKLab | oklab(47.75% 0.0058 -0.1483) |
| OKLCH | oklch(47.75% 0.148 272.2) |
| XYZ | xyz(12.9993, 10.2869, 41.8497) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.90
Blue Blue
#2242C7
ΔE00 6.08
Denim Blue
#3B5B92
ΔE00 6.13
Ocean Blue
#4F42B5
ΔE00 6.25
Dusky Blue
#475F94
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4252AF #AF9F42
analogous
#4288AF #4252AF #6942AF
triadic
#4252AF #AF4252 #52AF42
tetradic
#4252AF #AF4288 #AF9F42 #42AF69
square
#4252AF #AF4288 #AF9F42 #42AF69
split-complementary
#4252AF #AF6942 #88AF42
monochromatic
#202856 #313D83 #4252AF #6876C6 #959ED7
Accessibility & contrast
On white
6.87
#4252AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#4252AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4252AF
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4252AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4252AF | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4252af; /* rgb */ color: rgb(66, 82, 175); /* oklch */ color: oklch(47.7% 0.148 272.2);
Tailwind
colors: {
custom: {
50: '#8182c7',
500: '#4252af',
950: '#000000',
},
}SCSS
$custom: #4252af; $custom-light: #8182c7; $custom-dark: #000000;
JSON
{
"hex": "#4252af",
"rgb": {
"r": 66,
"g": 82,
"b": 175
},
"hsl": {
"h": 231.193,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.47746,
"c": 0.14837,
"h": 272.2
},
"luminance": 0.10288
}Semantic roles & 50–950 ramp
primary
#4252AF
secondary
#C2BA8A
accent
#C253D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82