#4F57E6#4F57E6

#4F57E6 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.212 H 274.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F57E6
RGBrgb(79, 87, 230)
HSLhsl(237, 75%, 61%)
HSVhsv(237, 66%, 90%)
CMYKcmyk(65.7%, 62.2%, 0%, 9.8%)
CIE-LABlab(44.50, 41.05, -73.47)
CIE-LCHlch(44.50, 84.16, 299.19°)
OKLaboklab(53.82% 0.0158 -0.2119)
OKLCHoklch(53.82% 0.212 274.3)
XYZxyz(20.9108, 14.1900, 76.4845)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57E6 #E6DE4F
analogous
#4FA2E6 #4F57E6 #924FE6
triadic
#4F57E6 #E64F57 #57E64F
tetradic
#4F57E6 #E64FA2 #E6DE4F #4FE692
square
#4F57E6 #E64FA2 #E6DE4F #4FE692
split-complementary
#4F57E6 #E6924F #A2E64F
monochromatic
#171FA3 #1F29D9 #4F57E6 #858AEE #BABDF5

Accessibility & contrast

On white

5.47
#4F57E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F57E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57E6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57E6#FFFFFF#000000##FFFFFF
##4F57E61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f57e6;
/* rgb */ color: rgb(79, 87, 230);
/* oklch */ color: oklch(53.8% 0.212 274.3);
Tailwind
colors: {
  custom: {
    50: '#9186ef',
    500: '#4f57e6',
    950: '#000000',
  },
}
SCSS
$custom: #4f57e6;
$custom-light: #9186ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57e6",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 236.821,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.21246,
    "h": 274.3
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#4F57E6
secondary
#E5E2AC
accent
#CD0ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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