#4F52E1#4F52E1

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

Color values

HEX#4F52E1
RGBrgb(79, 82, 225)
HSLhsl(239, 71%, 60%)
HSVhsv(239, 65%, 88%)
CMYKcmyk(64.9%, 63.6%, 0%, 11.8%)
CIE-LABlab(42.96, 42.40, -73.16)
CIE-LCHlch(42.96, 84.56, 300.10°)
OKLaboklab(52.56% 0.0199 -0.211)
OKLCHoklch(52.56% 0.212 275.4)
XYZxyz(19.8279, 13.1314, 72.7093)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52E1 #E1DE4F
analogous
#4F9BE1 #4F52E1 #954FE1
triadic
#4F52E1 #E14F52 #52E14F
tetradic
#4F52E1 #E14F9B #E1DE4F #4FE195
square
#4F52E1 #E14F9B #E1DE4F #4FE195
split-complementary
#4F52E1 #E1954F #9BE14F
monochromatic
#1A1D9B #2327CF #4F52E1 #8385EA #B8B9F3

Accessibility & contrast

On white

5.79
#4F52E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F52E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52E1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52E1#FFFFFF#000000##FFFFFF
##4F52E11.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f52e1;
/* rgb */ color: rgb(79, 82, 225);
/* oklch */ color: oklch(52.6% 0.212 275.4);
Tailwind
colors: {
  custom: {
    50: '#9183eb',
    500: '#4f52e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f52e1;
$custom-light: #9183eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52e1",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 238.767,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.21192,
    "h": 275.4
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#4F52E1
secondary
#E2E1AA
accent
#EA3AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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