#4A56E7#4A56E7

#4A56E7 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.216 H 272.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4A56E7
RGBrgb(74, 86, 231)
HSLhsl(235, 77%, 60%)
HSVhsv(235, 68%, 91%)
CMYKcmyk(68%, 62.8%, 0%, 9.4%)
CIE-LABlab(44.06, 41.32, -74.78)
CIE-LCHlch(44.06, 85.43, 298.93°)
OKLaboklab(53.44% 0.0111 -0.2158)
OKLCHoklch(53.44% 0.216 272.9)
XYZxyz(20.5708, 13.8790, 77.1806)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56E7 #E7DB4A
analogous
#4AA5E7 #4A56E7 #8D4AE7
triadic
#4A56E7 #E74A56 #56E74A
tetradic
#4A56E7 #E74AA5 #E7DB4A #4AE78D
square
#4A56E7 #E74AA5 #E7DB4A #4AE78D
split-complementary
#4A56E7 #E78D4A #A5E74A
monochromatic
#1520A1 #1D2BD7 #4A56E7 #8088EE #B6BBF5

Accessibility & contrast

On white

5.56
#4A56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4A56E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56E7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56E7#FFFFFF#000000##FFFFFF
##4A56E71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a56e7;
/* rgb */ color: rgb(74, 86, 231);
/* oklch */ color: oklch(53.4% 0.216 272.9);
Tailwind
colors: {
  custom: {
    50: '#8f86f0',
    500: '#4a56e7',
    950: '#000000',
  },
}
SCSS
$custom: #4a56e7;
$custom-light: #8f86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56e7",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 235.414,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5344,
    "c": 0.21611,
    "h": 272.9
  },
  "luminance": 0.13881
}

Semantic roles & 50–950 ramp

primary
#4A56E7
secondary
#E5E0A8
accent
#E535F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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