#4F57E8#4F57E8

#4F57E8 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.215 H 274.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4F57E8
RGBrgb(79, 87, 232)
HSLhsl(237, 77%, 61%)
HSVhsv(237, 66%, 91%)
CMYKcmyk(65.9%, 62.5%, 0%, 9%)
CIE-LABlab(44.66, 41.71, -74.34)
CIE-LCHlch(44.66, 85.24, 299.30°)
OKLaboklab(53.99% 0.0157 -0.2144)
OKLCHoklch(53.99% 0.215 274.2)
XYZxyz(21.1933, 14.3029, 77.9722)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57E8 #E8E04F
analogous
#4FA3E8 #4F57E8 #934FE8
triadic
#4F57E8 #E84F57 #57E84F
tetradic
#4F57E8 #E84FA3 #E8E04F #4FE893
square
#4F57E8 #E84FA3 #E8E04F #4FE893
split-complementary
#4F57E8 #E8934F #A3E84F
monochromatic
#161DA7 #1D27DD #4F57E8 #858BEF #BBBEF6

Accessibility & contrast

On white

5.44
#4F57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4F57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57E8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57E8#FFFFFF#000000##FFFFFF
##4F57E81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f57e8;
/* rgb */ color: rgb(79, 87, 232);
/* oklch */ color: oklch(54.0% 0.215 274.2);
Tailwind
colors: {
  custom: {
    50: '#9286f0',
    500: '#4f57e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f57e8;
$custom-light: #9286f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57e8",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 236.863,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.21499,
    "h": 274.2
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#4F57E8
secondary
#E6E3AD
accent
#CE0CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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