#4F57D9#4F57D9

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

Color values

HEX#4F57D9
RGBrgb(79, 87, 217)
HSLhsl(237, 64%, 58%)
HSVhsv(237, 64%, 85%)
CMYKcmyk(63.6%, 59.9%, 0%, 14.9%)
CIE-LABlab(43.49, 36.72, -67.74)
CIE-LCHlch(43.49, 77.05, 298.46°)
OKLaboklab(52.76% 0.0163 -0.195)
OKLCHoklch(52.76% 0.196 274.8)
XYZxyz(19.1529, 13.4868, 67.2261)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57D9 #D9D14F
analogous
#4F9CD9 #4F57D9 #8C4FD9
triadic
#4F57D9 #D94F57 #57D94F
tetradic
#4F57D9 #D94F9C #D9D14F #4FD98C
square
#4F57D9 #D94F9C #D9D14F #4FD98C
split-complementary
#4F57D9 #D98C4F #9CD94F
monochromatic
#1F258F #2A32C1 #4F57D9 #8187E4 #B4B7EF

Accessibility & contrast

On white

5.68
#4F57D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4F57D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57D9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57D9#FFFFFF#000000##FFFFFF
##4F57D91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f57d9;
/* rgb */ color: rgb(79, 87, 217);
/* oklch */ color: oklch(52.8% 0.196 274.8);
Tailwind
colors: {
  custom: {
    50: '#8f86e6',
    500: '#4f57d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f57d9;
$custom-light: #8f86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57d9",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 236.522,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.19572,
    "h": 274.8
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#4F57D9
secondary
#DDDAA6
accent
#DE40E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F57D9

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

Preview Lab → · Contrast checker → · Palette generator →

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