#4F57D5#4F57D5

#4F57D5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.190 H 274.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4F57D5
RGBrgb(79, 87, 213)
HSLhsl(236, 61%, 57%)
HSVhsv(236, 63%, 84%)
CMYKcmyk(62.9%, 59.2%, 0%, 16.5%)
CIE-LABlab(43.18, 35.39, -65.94)
CIE-LCHlch(43.18, 74.84, 298.22°)
OKLaboklab(52.43% 0.0164 -0.1898)
OKLCHoklch(52.43% 0.19 274.9)
XYZxyz(18.6389, 13.2812, 64.5192)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57D5 #D5CD4F
analogous
#4F9AD5 #4F57D5 #8A4FD5
triadic
#4F57D5 #D54F57 #57D54F
tetradic
#4F57D5 #D54F9A #D5CD4F #4FD58A
square
#4F57D5 #D54F9A #D5CD4F #4FD58A
split-complementary
#4F57D5 #D58A4F #9AD54F
monochromatic
#212789 #2C35BA #4F57D5 #8086E1 #B2B5ED

Accessibility & contrast

On white

5.74
#4F57D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F57D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57D5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57D5#FFFFFF#000000##FFFFFF
##4F57D51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f57d5;
/* rgb */ color: rgb(79, 87, 213);
/* oklch */ color: oklch(52.4% 0.190 274.9);
Tailwind
colors: {
  custom: {
    50: '#8e86e3',
    500: '#4f57d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f57d5;
$custom-light: #8e86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57d5",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 236.418,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.19048,
    "h": 274.9
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#4F57D5
secondary
#DBD8A5
accent
#DB43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F57D5

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

Preview Lab → · Contrast checker → · Palette generator →

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