#4F56E6#4F56E6

#4F56E6 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.214 H 274.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F56E6
RGBrgb(79, 86, 230)
HSLhsl(237, 75%, 61%)
HSVhsv(237, 66%, 90%)
CMYKcmyk(65.7%, 62.6%, 0%, 9.8%)
CIE-LABlab(44.27, 41.65, -73.84)
CIE-LCHlch(44.27, 84.78, 299.42°)
OKLaboklab(53.65% 0.0166 -0.213)
OKLCHoklch(53.65% 0.214 274.4)
XYZxyz(20.8304, 14.0292, 76.4577)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56E6 #E6DF4F
analogous
#4FA1E6 #4F56E6 #944FE6
triadic
#4F56E6 #E64F56 #56E64F
tetradic
#4F56E6 #E64FA1 #E6DF4F #4FE694
square
#4F56E6 #E64FA1 #E6DF4F #4FE694
split-complementary
#4F56E6 #E6944F #A1E64F
monochromatic
#171EA3 #1F27D9 #4F56E6 #8589EE #BABDF5

Accessibility & contrast

On white

5.52
#4F56E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4F56E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56E6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56E6#FFFFFF#000000##FFFFFF
##4F56E61.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f56e6;
/* rgb */ color: rgb(79, 86, 230);
/* oklch */ color: oklch(53.7% 0.214 274.4);
Tailwind
colors: {
  custom: {
    50: '#9186ef',
    500: '#4f56e6',
    950: '#000000',
  },
}
SCSS
$custom: #4f56e6;
$custom-light: #9186ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56e6",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 237.219,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.21362,
    "h": 274.4
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#4F56E6
secondary
#E5E2AC
accent
#CE0ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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