#4F56F5#4F56F5

#4F56F5 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.232 H 273.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F56F5
RGBrgb(79, 86, 245)
HSLhsl(237, 89%, 64%)
HSVhsv(237, 68%, 96%)
CMYKcmyk(67.8%, 64.9%, 0%, 3.9%)
CIE-LABlab(45.51, 46.58, -80.27)
CIE-LCHlch(45.51, 92.81, 300.13°)
OKLaboklab(54.93% 0.0155 -0.2318)
OKLCHoklch(54.93% 0.232 273.8)
XYZxyz(23.0282, 14.9083, 88.0325)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56F5 #F5EE4F
analogous
#4FA9F5 #4F56F5 #9B4FF5
triadic
#4F56F5 #F54F56 #56F54F
tetradic
#4F56F5 #F54FA9 #F5EE4F #4FF59B
square
#4F56F5 #F54FA9 #F5EE4F #4FF59B
split-complementary
#4F56F5 #F59B4F #A9F54F
monochromatic
#0B12BF #151EF2 #4F56F5 #898EF8 #C3C5FC

Accessibility & contrast

On white

5.27
#4F56F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4F56F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56F5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56F5#FFFFFF#000000##FFFFFF
##4F56F51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#0064F2
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f56f5;
/* rgb */ color: rgb(79, 86, 245);
/* oklch */ color: oklch(54.9% 0.232 273.8);
Tailwind
colors: {
  custom: {
    50: '#9486fa',
    500: '#4f56f5',
    950: '#000000',
  },
}
SCSS
$custom: #4f56f5;
$custom-light: #9486fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56f5",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 237.47,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.23232,
    "h": 273.8
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#4F56F5
secondary
#EDEBB2
accent
#DC00E6
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #4F56F5

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

Preview Lab → · Contrast checker → · Palette generator →

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