#4F57D7#4F57D7

#4F57D7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.193 H 274.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4F57D7
RGBrgb(79, 87, 215)
HSLhsl(236, 63%, 58%)
HSVhsv(236, 63%, 84%)
CMYKcmyk(63.3%, 59.5%, 0%, 15.7%)
CIE-LABlab(43.34, 36.06, -66.84)
CIE-LCHlch(43.34, 75.95, 298.34°)
OKLaboklab(52.6% 0.0164 -0.1924)
OKLCHoklch(52.6% 0.193 274.9)
XYZxyz(18.8944, 13.3834, 65.8644)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57D7 #D7CF4F
analogous
#4F9BD7 #4F57D7 #8B4FD7
triadic
#4F57D7 #D74F57 #57D74F
tetradic
#4F57D7 #D74F9B #D7CF4F #4FD78B
square
#4F57D7 #D74F9B #D7CF4F #4FD78B
split-complementary
#4F57D7 #D78B4F #9BD74F
monochromatic
#20268C #2B34BE #4F57D7 #8187E2 #B3B6EE

Accessibility & contrast

On white

5.71
#4F57D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4F57D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57D7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57D7#FFFFFF#000000##FFFFFF
##4F57D71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f57d7;
/* rgb */ color: rgb(79, 87, 215);
/* oklch */ color: oklch(52.6% 0.193 274.9);
Tailwind
colors: {
  custom: {
    50: '#8e86e4',
    500: '#4f57d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f57d7;
$custom-light: #8e86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57d7",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 236.471,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.19311,
    "h": 274.9
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#4F57D7
secondary
#DCD9A6
accent
#DC42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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