#4F52AE#4F52AE
#4F52AE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.144 H 278.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52AE |
|---|---|
| RGB | rgb(79, 82, 174) |
| HSL | hsl(238, 38%, 50%) |
| HSV | hsv(238, 55%, 68%) |
| CMYK | cmyk(54.6%, 52.9%, 0%, 31.8%) |
| CIE-LAB | lab(39.16, 25.54, -49.77) |
| CIE-LCH | lch(39.16, 55.94, 297.17°) |
| OKLab | oklab(48.56% 0.0205 -0.1422) |
| OKLCH | oklch(48.56% 0.144 278.2) |
| XYZ | xyz(13.8793, 10.7520, 41.3802) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.80
Ocean Blue
#4F42B5
ΔE00 5.22
Blueberry
#464196
ΔE00 6.06
Twilight
#4E518B
ΔE00 6.23
Warm Blue
#4B57DB
ΔE00 6.49
Slate Blue
#6A5ACD
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52AE #AEAB4F
analogous
#4F82AE #4F52AE #7C4FAE
triadic
#4F52AE #AE4F52 #52AE4F
tetradic
#4F52AE #AE4F82 #AEAB4F #4FAE7C
square
#4F52AE #AE4F82 #AEAB4F #4FAE7C
split-complementary
#4F52AE #AE7C4F #82AE4F
monochromatic
#292A5A #3C3E84 #4F52AE #787BC2 #A2A4D5
Accessibility & contrast
On white
6.67
#4F52AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#4F52AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52AE
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52AE | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#0F58AC
Tritanopia (blue-blind)
#226778
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4f52ae; /* rgb */ color: rgb(79, 82, 174); /* oklch */ color: oklch(48.6% 0.144 278.2);
Tailwind
colors: {
custom: {
50: '#8882c7',
500: '#4f52ae',
950: '#000000',
},
}SCSS
$custom: #4f52ae; $custom-light: #8882c7; $custom-dark: #000000;
JSON
{
"hex": "#4f52ae",
"rgb": {
"r": 79,
"g": 82,
"b": 174
},
"hsl": {
"h": 238.105,
"s": 37.549,
"l": 49.608
},
"oklch": {
"l": 0.48558,
"c": 0.1437,
"h": 278.2
},
"luminance": 0.10753
}Semantic roles & 50–950 ramp
primary
#4F52AE
secondary
#C2C197
accent
#CA5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82