#4F52E0#4F52E0

#4F52E0 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.211 H 275.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4F52E0
RGBrgb(79, 82, 224)
HSLhsl(239, 70%, 59%)
HSVhsv(239, 65%, 88%)
CMYKcmyk(64.7%, 63.4%, 0%, 12.2%)
CIE-LABlab(42.88, 42.07, -72.72)
CIE-LCHlch(42.88, 84.01, 300.05°)
OKLaboklab(52.48% 0.02 -0.2097)
OKLCHoklch(52.48% 0.211 275.4)
XYZxyz(19.6919, 13.0770, 71.9929)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52E0 #E0DD4F
analogous
#4F9AE0 #4F52E0 #954FE0
triadic
#4F52E0 #E04F52 #52E04F
tetradic
#4F52E0 #E04F9A #E0DD4F #4FE095
square
#4F52E0 #E04F9A #E0DD4F #4FE095
split-complementary
#4F52E0 #E0954F #9AE04F
monochromatic
#1B1E9A #2428CE #4F52E0 #8385E9 #B7B8F2

Accessibility & contrast

On white

5.81
#4F52E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F52E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52E0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52E0#FFFFFF#000000##FFFFFF
##4F52E01.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f52e0;
/* rgb */ color: rgb(79, 82, 224);
/* oklch */ color: oklch(52.5% 0.211 275.4);
Tailwind
colors: {
  custom: {
    50: '#9083eb',
    500: '#4f52e0',
    950: '#000000',
  },
}
SCSS
$custom: #4f52e0;
$custom-light: #9083eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52e0",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 238.759,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.21066,
    "h": 275.4
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#4F52E0
secondary
#E2E0A9
accent
#E93BED
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52E0

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

Preview Lab → · Contrast checker → · Palette generator →

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