#4F57D2#4F57D2

#4F57D2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.187 H 275.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4F57D2
RGBrgb(79, 87, 210)
HSLhsl(236, 59%, 57%)
HSVhsv(236, 62%, 82%)
CMYKcmyk(62.4%, 58.6%, 0%, 17.6%)
CIE-LABlab(42.96, 34.38, -64.59)
CIE-LCHlch(42.96, 73.17, 298.03°)
OKLaboklab(52.2% 0.0165 -0.1858)
OKLCHoklch(52.2% 0.187 275.1)
XYZxyz(18.2617, 13.1303, 62.5323)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57D2 #D2CA4F
analogous
#4F99D2 #4F57D2 #894FD2
triadic
#4F57D2 #D24F57 #57D24F
tetradic
#4F57D2 #D24F99 #D2CA4F #4FD289
square
#4F57D2 #D24F99 #D2CA4F #4FD289
split-complementary
#4F57D2 #D2894F #99D24F
monochromatic
#222885 #2E37B5 #4F57D2 #8086DE #B0B4EB

Accessibility & contrast

On white

5.79
#4F57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57D2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57D2#FFFFFF#000000##FFFFFF
##4F57D21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f57d2;
/* rgb */ color: rgb(79, 87, 210);
/* oklch */ color: oklch(52.2% 0.187 275.1);
Tailwind
colors: {
  custom: {
    50: '#8e86e1',
    500: '#4f57d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f57d2;
$custom-light: #8e86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57d2",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 236.336,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.18652,
    "h": 275.1
  },
  "luminance": 0.13132
}

Semantic roles & 50–950 ramp

primary
#4F57D2
secondary
#D9D6A4
accent
#D945E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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