#4F52E4#4F52E4

#4F52E4 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.216 H 275.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4F52E4
RGBrgb(79, 82, 228)
HSLhsl(239, 73%, 60%)
HSVhsv(239, 65%, 89%)
CMYKcmyk(65.4%, 64%, 0%, 10.6%)
CIE-LABlab(43.21, 43.38, -74.46)
CIE-LCHlch(43.21, 86.17, 300.23°)
OKLaboklab(52.82% 0.0197 -0.2148)
OKLCHoklch(52.82% 0.216 275.2)
XYZxyz(20.2407, 13.2965, 74.8836)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52E4 #E4E14F
analogous
#4F9CE4 #4F52E4 #964FE4
triadic
#4F52E4 #E44F52 #52E44F
tetradic
#4F52E4 #E44F9C #E4E14F #4FE496
square
#4F52E4 #E44F9C #E4E14F #4FE496
split-complementary
#4F52E4 #E4964F #9CE44F
monochromatic
#191BA0 #2124D5 #4F52E4 #8486EC #B9BAF4

Accessibility & contrast

On white

5.74
#4F52E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F52E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52E4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52E4#FFFFFF#000000##FFFFFF
##4F52E41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f52e4;
/* rgb */ color: rgb(79, 82, 228);
/* oklch */ color: oklch(52.8% 0.216 275.2);
Tailwind
colors: {
  custom: {
    50: '#9183ee',
    500: '#4f52e4',
    950: '#000000',
  },
}
SCSS
$custom: #4f52e4;
$custom-light: #9183ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52e4",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 238.792,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5282,
    "c": 0.2157,
    "h": 275.2
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#4F52E4
secondary
#E4E3AB
accent
#D210D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52E4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4F52E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva