#4F57E5#4F57E5

#4F57E5 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.7% C 0.211 H 274.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4F57E5
RGBrgb(79, 87, 229)
HSLhsl(237, 74%, 60%)
HSVhsv(237, 66%, 90%)
CMYKcmyk(65.5%, 62%, 0%, 10.2%)
CIE-LABlab(44.42, 40.72, -73.03)
CIE-LCHlch(44.42, 83.62, 299.14°)
OKLaboklab(53.74% 0.0159 -0.2106)
OKLCHoklch(53.74% 0.211 274.3)
XYZxyz(20.7708, 14.1340, 75.7471)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57E5 #E5DD4F
analogous
#4FA2E5 #4F57E5 #924FE5
triadic
#4F57E5 #E54F57 #57E54F
tetradic
#4F57E5 #E54FA2 #E5DD4F #4FE592
square
#4F57E5 #E54FA2 #E5DD4F #4FE592
split-complementary
#4F57E5 #E5924F #A2E54F
monochromatic
#181FA2 #202AD7 #4F57E5 #848AED #BABDF5

Accessibility & contrast

On white

5.49
#4F57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4F57E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57E5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57E5#FFFFFF#000000##FFFFFF
##4F57E51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f57e5;
/* rgb */ color: rgb(79, 87, 229);
/* oklch */ color: oklch(53.7% 0.211 274.3);
Tailwind
colors: {
  custom: {
    50: '#9186ee',
    500: '#4f57e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f57e5;
$custom-light: #9186ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57e5",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 236.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.21119,
    "h": 274.3
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#4F57E5
secondary
#E5E1AB
accent
#CC0FD6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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