#4F57DA#4F57DA

#4F57DA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.197 H 274.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4F57DA
RGBrgb(79, 87, 218)
HSLhsl(237, 65%, 58%)
HSVhsv(237, 64%, 85%)
CMYKcmyk(63.8%, 60.1%, 0%, 14.5%)
CIE-LABlab(43.56, 37.06, -68.18)
CIE-LCHlch(43.56, 77.60, 298.52°)
OKLaboklab(52.84% 0.0163 -0.1963)
OKLCHoklch(52.84% 0.197 274.7)
XYZxyz(19.2834, 13.5390, 67.9132)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57DA #DAD24F
analogous
#4F9CDA #4F57DA #8C4FDA
triadic
#4F57DA #DA4F57 #57DA4F
tetradic
#4F57DA #DA4F9C #DAD24F #4FDA8C
square
#4F57DA #DA4F9C #DAD24F #4FDA8C
split-complementary
#4F57DA #DA8C4F #9CDA4F
monochromatic
#1E2590 #2932C3 #4F57DA #8287E5 #B4B8EF

Accessibility & contrast

On white

5.66
#4F57DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F57DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57DA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57DA#FFFFFF#000000##FFFFFF
##4F57DA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f57da;
/* rgb */ color: rgb(79, 87, 218);
/* oklch */ color: oklch(52.8% 0.197 274.7);
Tailwind
colors: {
  custom: {
    50: '#8f86e6',
    500: '#4f57da',
    950: '#000000',
  },
}
SCSS
$custom: #4f57da;
$custom-light: #8f86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57da",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 236.547,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.19703,
    "h": 274.7
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#4F57DA
secondary
#DEDBA7
accent
#DF40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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