#4F57D6#4F57D6

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

Color values

HEX#4F57D6
RGBrgb(79, 87, 214)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 63%, 84%)
CMYKcmyk(63.1%, 59.3%, 0%, 16.1%)
CIE-LABlab(43.26, 35.72, -66.39)
CIE-LCHlch(43.26, 75.39, 298.28°)
OKLaboklab(52.52% 0.0164 -0.1911)
OKLCHoklch(52.52% 0.192 274.9)
XYZxyz(18.7663, 13.3321, 65.1897)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57D6 #D6CE4F
analogous
#4F9BD6 #4F57D6 #8A4FD6
triadic
#4F57D6 #D64F57 #57D64F
tetradic
#4F57D6 #D64F9B #D6CE4F #4FD68A
square
#4F57D6 #D64F9B #D6CE4F #4FD68A
split-complementary
#4F57D6 #D68A4F #9BD64F
monochromatic
#20278A #2C34BC #4F57D6 #8186E2 #B2B6ED

Accessibility & contrast

On white

5.73
#4F57D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4F57D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57D6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57D6#FFFFFF#000000##FFFFFF
##4F57D61.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f57d6;
/* rgb */ color: rgb(79, 87, 214);
/* oklch */ color: oklch(52.5% 0.192 274.9);
Tailwind
colors: {
  custom: {
    50: '#8e86e4',
    500: '#4f57d6',
    950: '#000000',
  },
}
SCSS
$custom: #4f57d6;
$custom-light: #8e86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57d6",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 236.444,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.19179,
    "h": 274.9
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#4F57D6
secondary
#DCD8A5
accent
#DC43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F57D6

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

Preview Lab → · Contrast checker → · Palette generator →

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