#4F52E6#4F52E6

#4F52E6 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.218 H 275.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4F52E6
RGBrgb(79, 82, 230)
HSLhsl(239, 75%, 61%)
HSVhsv(239, 66%, 90%)
CMYKcmyk(65.7%, 64.3%, 0%, 9.8%)
CIE-LABlab(43.37, 44.04, -75.32)
CIE-LCHlch(43.37, 87.25, 300.31°)
OKLaboklab(52.99% 0.0195 -0.2173)
OKLCHoklch(52.99% 0.218 275.1)
XYZxyz(20.5200, 13.4082, 76.3542)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52E6 #E6E34F
analogous
#4F9DE6 #4F52E6 #974FE6
triadic
#4F52E6 #E64F52 #52E64F
tetradic
#4F52E6 #E64F9D #E6E34F #4FE697
square
#4F52E6 #E64F9D #E6E34F #4FE697
split-complementary
#4F52E6 #E6974F #9DE64F
monochromatic
#171AA3 #1F23D9 #4F52E6 #8587EE #BABBF5

Accessibility & contrast

On white

5.70
#4F52E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4F52E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52E6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52E6#FFFFFF#000000##FFFFFF
##4F52E61.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f52e6;
/* rgb */ color: rgb(79, 82, 230);
/* oklch */ color: oklch(53.0% 0.218 275.1);
Tailwind
colors: {
  custom: {
    50: '#9283ef',
    500: '#4f52e6',
    950: '#000000',
  },
}
SCSS
$custom: #4f52e6;
$custom-light: #9283ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52e6",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 238.808,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.2182,
    "h": 275.1
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#4F52E6
secondary
#E5E4AC
accent
#D30ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4F52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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