#4F56E8#4F56E8

#4F56E8 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.8% C 0.216 H 274.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4F56E8
RGBrgb(79, 86, 232)
HSLhsl(237, 77%, 61%)
HSVhsv(237, 66%, 91%)
CMYKcmyk(65.9%, 62.9%, 0%, 9%)
CIE-LABlab(44.44, 42.31, -74.71)
CIE-LCHlch(44.44, 85.86, 299.52°)
OKLaboklab(53.82% 0.0164 -0.2155)
OKLCHoklch(53.82% 0.216 274.4)
XYZxyz(21.1129, 14.1421, 77.9454)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56E8 #E8E14F
analogous
#4FA2E8 #4F56E8 #944FE8
triadic
#4F56E8 #E84F56 #56E84F
tetradic
#4F56E8 #E84FA2 #E8E14F #4FE894
square
#4F56E8 #E84FA2 #E8E14F #4FE894
split-complementary
#4F56E8 #E8944F #A2E84F
monochromatic
#161CA7 #1D26DD #4F56E8 #858AEF #BBBEF6

Accessibility & contrast

On white

5.48
#4F56E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4F56E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56E8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56E8#FFFFFF#000000##FFFFFF
##4F56E81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f56e8;
/* rgb */ color: rgb(79, 86, 232);
/* oklch */ color: oklch(53.8% 0.216 274.4);
Tailwind
colors: {
  custom: {
    50: '#9286f0',
    500: '#4f56e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f56e8;
$custom-light: #9286f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56e8",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 237.255,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.21615,
    "h": 274.4
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#4F56E8
secondary
#E6E4AD
accent
#D00CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4F56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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