#4F52BD#4F52BD
#4F52BD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.165 H 277.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52BD |
|---|---|
| RGB | rgb(79, 82, 189) |
| HSL | hsl(238, 45%, 53%) |
| HSV | hsv(238, 58%, 74%) |
| CMYK | cmyk(58.2%, 56.6%, 0%, 25.9%) |
| CIE-LAB | lab(40.20, 30.50, -56.91) |
| CIE-LCH | lch(40.20, 64.57, 298.19°) |
| OKLab | oklab(49.66% 0.0211 -0.1632) |
| OKLCH | oklch(49.66% 0.165 277.4) |
| XYZ | xyz(15.4241, 11.3699, 49.5161) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.64
Warm Blue
#4B57DB
ΔE00 4.38
Ocean Blue
#4F42B5
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.47
Dark Periwinkle
#665FD1
ΔE00 5.91
Light Indigo
#6D5ACF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52BD #BDBA4F
analogous
#4F89BD #4F52BD #834FBD
triadic
#4F52BD #BD4F52 #52BD4F
tetradic
#4F52BD #BD4F89 #BDBA4F #4FBD83
square
#4F52BD #BD4F89 #BDBA4F #4FBD83
split-complementary
#4F52BD #BD834F #89BD4F
monochromatic
#282A6A #383B96 #4F52BD #7C7ECE #A8AADE
Accessibility & contrast
On white
6.41
#4F52BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#4F52BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52BD
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52BD | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#026B7F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4f52bd; /* rgb */ color: rgb(79, 82, 189); /* oklch */ color: oklch(49.7% 0.165 277.4);
Tailwind
colors: {
custom: {
50: '#8a82d2',
500: '#4f52bd',
950: '#000000',
},
}SCSS
$custom: #4f52bd; $custom-light: #8a82d2; $custom-dark: #000000;
JSON
{
"hex": "#4f52bd",
"rgb": {
"r": 79,
"g": 82,
"b": 189
},
"hsl": {
"h": 238.364,
"s": 45.455,
"l": 52.549
},
"oklch": {
"l": 0.49663,
"c": 0.16461,
"h": 277.4
},
"luminance": 0.11371
}Semantic roles & 50–950 ramp
primary
#4F52BD
secondary
#CCCA9C
accent
#D253D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83