#4A56E5#4A56E5

#4A56E5 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.3% C 0.214 H 273.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A56E5
RGBrgb(74, 86, 229)
HSLhsl(235, 75%, 59%)
HSVhsv(235, 68%, 90%)
CMYKcmyk(67.7%, 62.4%, 0%, 10.2%)
CIE-LABlab(43.90, 40.65, -73.91)
CIE-LCHlch(43.90, 84.35, 298.81°)
OKLaboklab(53.27% 0.0112 -0.2133)
OKLCHoklch(53.27% 0.214 273)
XYZxyz(20.2900, 13.7667, 75.7015)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56E5 #E5D94A
analogous
#4AA4E5 #4A56E5 #8C4AE5
triadic
#4A56E5 #E54A56 #56E54A
tetradic
#4A56E5 #E54AA4 #E5D94A #4AE58C
square
#4A56E5 #E54AA4 #E5D94A #4AE58C
split-complementary
#4A56E5 #E58C4A #A4E54A
monochromatic
#17219E #1E2CD3 #4A56E5 #8088ED #B5BAF4

Accessibility & contrast

On white

5.59
#4A56E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A56E5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56E5#FFFFFF#000000##FFFFFF
##4A56E51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a56e5;
/* rgb */ color: rgb(74, 86, 229);
/* oklch */ color: oklch(53.3% 0.214 273.0);
Tailwind
colors: {
  custom: {
    50: '#8f86ee',
    500: '#4a56e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a56e5;
$custom-light: #8f86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56e5",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 235.355,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.21358,
    "h": 273
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#4A56E5
secondary
#E4DFA7
accent
#E336F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4A56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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