#4F57DC#4F57DC

#4F57DC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.0% C 0.200 H 274.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4F57DC
RGBrgb(79, 87, 220)
HSLhsl(237, 67%, 59%)
HSVhsv(237, 64%, 86%)
CMYKcmyk(64.1%, 60.5%, 0%, 13.7%)
CIE-LABlab(43.72, 37.72, -69.07)
CIE-LCHlch(43.72, 78.70, 298.64°)
OKLaboklab(53% 0.0162 -0.199)
OKLCHoklch(53% 0.2 274.7)
XYZxyz(19.5467, 13.6443, 69.2998)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57DC #DCD44F
analogous
#4F9DDC #4F57DC #8D4FDC
triadic
#4F57DC #DC4F57 #57DC4F
tetradic
#4F57DC #DC4F9D #DCD44F #4FDC8D
square
#4F57DC #DC4F9D #DCD44F #4FDC8D
split-complementary
#4F57DC #DC8D4F #9DDC4F
monochromatic
#1D2493 #2730C6 #4F57DC #8288E6 #B5B8F0

Accessibility & contrast

On white

5.63
#4F57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4F57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57DC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57DC#FFFFFF#000000##FFFFFF
##4F57DC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f57dc;
/* rgb */ color: rgb(79, 87, 220);
/* oklch */ color: oklch(53.0% 0.200 274.7);
Tailwind
colors: {
  custom: {
    50: '#8f86e8',
    500: '#4f57dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f57dc;
$custom-light: #8f86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57dc",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 236.596,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.19963,
    "h": 274.7
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#4F57DC
secondary
#DFDCA8
accent
#E03EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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