#4F52B2#4F52B2
#4F52B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.149 H 278.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52B2 |
|---|---|
| RGB | rgb(79, 82, 178) |
| HSL | hsl(238, 39%, 50%) |
| HSV | hsv(238, 56%, 70%) |
| CMYK | cmyk(55.6%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(39.43, 26.86, -51.69) |
| CIE-LCH | lch(39.43, 58.26, 297.46°) |
| OKLab | oklab(48.85% 0.0207 -0.1479) |
| OKLCH | oklch(48.85% 0.149 278) |
| XYZ | xyz(14.2751, 10.9103, 43.4645) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 5.03
Warm Blue
#4B57DB
ΔE00 5.90
Slate Blue
#6A5ACD
ΔE00 6.38
Blueberry
#464196
ΔE00 6.39
Blue Blue
#2242C7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52B2 #B2AF4F
analogous
#4F83B2 #4F52B2 #7D4FB2
triadic
#4F52B2 #B24F52 #52B24F
tetradic
#4F52B2 #B24F83 #B2AF4F #4FB27D
square
#4F52B2 #B24F83 #B2AF4F #4FB27D
split-complementary
#4F52B2 #B27D4F #83B24F
monochromatic
#292B5E #3C3E88 #4F52B2 #7A7CC5 #A4A6D7
Accessibility & contrast
On white
6.60
#4F52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#4F52B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52B2
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52B2 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#1D687A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4f52b2; /* rgb */ color: rgb(79, 82, 178); /* oklch */ color: oklch(48.8% 0.149 278.0);
Tailwind
colors: {
custom: {
50: '#8882ca',
500: '#4f52b2',
950: '#000000',
},
}SCSS
$custom: #4f52b2; $custom-light: #8882ca; $custom-dark: #000000;
JSON
{
"hex": "#4f52b2",
"rgb": {
"r": 79,
"g": 82,
"b": 178
},
"hsl": {
"h": 238.182,
"s": 39.13,
"l": 50.392
},
"oklch": {
"l": 0.48846,
"c": 0.14934,
"h": 278
},
"luminance": 0.10911
}Semantic roles & 50–950 ramp
primary
#4F52B2
secondary
#C4C398
accent
#CB59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82