#4F56E1#4F56E1

#4F56E1 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.2% C 0.207 H 274.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4F56E1
RGBrgb(79, 86, 225)
HSLhsl(237, 71%, 60%)
HSVhsv(237, 65%, 88%)
CMYKcmyk(64.9%, 61.8%, 0%, 11.8%)
CIE-LABlab(43.88, 40.00, -71.66)
CIE-LCHlch(43.88, 82.07, 299.17°)
OKLaboklab(53.24% 0.0168 -0.2066)
OKLCHoklch(53.24% 0.207 274.7)
XYZxyz(20.1384, 13.7523, 72.8128)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F56E1 #E1DA4F
analogous
#4F9FE1 #4F56E1 #914FE1
triadic
#4F56E1 #E14F56 #56E14F
tetradic
#4F56E1 #E14F9F #E1DA4F #4FE191
square
#4F56E1 #E14F9F #E1DA4F #4FE191
split-complementary
#4F56E1 #E1914F #9FE14F
monochromatic
#1A219B #232CCF #4F56E1 #8388EA #B8BAF3

Accessibility & contrast

On white

5.60
#4F56E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4F56E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F56E1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F56E1#FFFFFF#000000##FFFFFF
##4F56E11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f56e1;
/* rgb */ color: rgb(79, 86, 225);
/* oklch */ color: oklch(53.2% 0.207 274.7);
Tailwind
colors: {
  custom: {
    50: '#9086eb',
    500: '#4f56e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f56e1;
$custom-light: #9086eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f56e1",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 237.123,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53235,
    "c": 0.20726,
    "h": 274.7
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#4F56E1
secondary
#E2E0AA
accent
#E53AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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