#4F52E8#4F52E8

#4F52E8 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.221 H 275.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4F52E8
RGBrgb(79, 82, 232)
HSLhsl(239, 77%, 61%)
HSVhsv(239, 66%, 91%)
CMYKcmyk(65.9%, 64.7%, 0%, 9%)
CIE-LABlab(43.54, 44.69, -76.18)
CIE-LCHlch(43.54, 88.32, 300.40°)
OKLaboklab(53.16% 0.0194 -0.2198)
OKLCHoklch(53.16% 0.221 275)
XYZxyz(20.8024, 13.5212, 77.8419)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52E8 #E8E54F
analogous
#4F9EE8 #4F52E8 #994FE8
triadic
#4F52E8 #E84F52 #52E84F
tetradic
#4F52E8 #E84F9E #E8E54F #4FE899
square
#4F52E8 #E84F9E #E8E54F #4FE899
split-complementary
#4F52E8 #E8994F #9EE84F
monochromatic
#1619A7 #1D21DD #4F52E8 #8587EF #BBBCF6

Accessibility & contrast

On white

5.67
#4F52E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4F52E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52E8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52E8#FFFFFF#000000##FFFFFF
##4F52E81.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0060E5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f52e8;
/* rgb */ color: rgb(79, 82, 232);
/* oklch */ color: oklch(53.2% 0.221 275.0);
Tailwind
colors: {
  custom: {
    50: '#9283f0',
    500: '#4f52e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f52e8;
$custom-light: #9283f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52e8",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 238.824,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.2207,
    "h": 275
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#4F52E8
secondary
#E6E5AD
accent
#D50CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4F52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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