#4F52BE#4F52BE
#4F52BE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.166 H 277.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52BE |
|---|---|
| RGB | rgb(79, 82, 190) |
| HSL | hsl(238, 46%, 53%) |
| HSV | hsv(238, 58%, 75%) |
| CMYK | cmyk(58.4%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(40.27, 30.83, -57.38) |
| CIE-LCH | lch(40.27, 65.14, 298.25°) |
| OKLab | oklab(49.74% 0.0211 -0.1646) |
| OKLCH | oklch(49.74% 0.166 277.3) |
| XYZ | xyz(15.5330, 11.4134, 50.0897) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.59
Warm Blue
#4B57DB
ΔE00 4.25
Ocean Blue
#4F42B5
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 5.41
Dark Periwinkle
#665FD1
ΔE00 5.84
Light Indigo
#6D5ACF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52BE #BEBB4F
analogous
#4F8ABE #4F52BE #834FBE
triadic
#4F52BE #BE4F52 #52BE4F
tetradic
#4F52BE #BE4F8A #BEBB4F #4FBE83
square
#4F52BE #BE4F8A #BEBB4F #4FBE83
split-complementary
#4F52BE #BE834F #8ABE4F
monochromatic
#28296B #383B98 #4F52BE #7C7ECF #A8AADF
Accessibility & contrast
On white
6.40
#4F52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#4F52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52BE
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52BE | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4f52be; /* rgb */ color: rgb(79, 82, 190); /* oklch */ color: oklch(49.7% 0.166 277.3);
Tailwind
colors: {
custom: {
50: '#8a82d2',
500: '#4f52be',
950: '#000000',
},
}SCSS
$custom: #4f52be; $custom-light: #8a82d2; $custom-dark: #000000;
JSON
{
"hex": "#4f52be",
"rgb": {
"r": 79,
"g": 82,
"b": 190
},
"hsl": {
"h": 238.378,
"s": 46.058,
"l": 52.745
},
"oklch": {
"l": 0.49739,
"c": 0.16597,
"h": 277.3
},
"luminance": 0.11415
}Semantic roles & 50–950 ramp
primary
#4F52BE
secondary
#CCCB9C
accent
#D252D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83