#4F52E9#4F52E9

#4F52E9 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.222 H 275.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4F52E9
RGBrgb(79, 82, 233)
HSLhsl(239, 78%, 61%)
HSVhsv(239, 66%, 91%)
CMYKcmyk(66.1%, 64.8%, 0%, 8.6%)
CIE-LABlab(43.62, 45.02, -76.61)
CIE-LCHlch(43.62, 88.86, 300.44°)
OKLaboklab(53.25% 0.0193 -0.2211)
OKLCHoklch(53.25% 0.222 275)
XYZxyz(20.9449, 13.5782, 78.5921)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52E9 #E9E64F
analogous
#4F9FE9 #4F52E9 #994FE9
triadic
#4F52E9 #E94F52 #52E94F
tetradic
#4F52E9 #E94F9F #E9E64F #4FE999
square
#4F52E9 #E94F9F #E9E64F #4FE999
split-complementary
#4F52E9 #E9994F #9FE94F
monochromatic
#1518A9 #1C20DF #4F52E9 #8587F0 #BCBDF7

Accessibility & contrast

On white

5.65
#4F52E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4F52E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52E9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52E9#FFFFFF#000000##FFFFFF
##4F52E91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f52e9;
/* rgb */ color: rgb(79, 82, 233);
/* oklch */ color: oklch(53.3% 0.222 275.0);
Tailwind
colors: {
  custom: {
    50: '#9283f1',
    500: '#4f52e9',
    950: '#000000',
  },
}
SCSS
$custom: #4f52e9;
$custom-light: #9283f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52e9",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 238.831,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.22194,
    "h": 275
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#4F52E9
secondary
#E7E6AD
accent
#D60BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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