#4B56E5#4B56E5

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

Color values

HEX#4B56E5
RGBrgb(75, 86, 229)
HSLhsl(236, 75%, 60%)
HSVhsv(236, 67%, 90%)
CMYKcmyk(67.2%, 62.4%, 0%, 10.2%)
CIE-LABlab(43.95, 40.78, -73.81)
CIE-LCHlch(43.95, 84.33, 298.92°)
OKLaboklab(53.33% 0.0123 -0.213)
OKLCHoklch(53.33% 0.213 273.3)
XYZxyz(20.3676, 13.8067, 75.7051)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56E5 #E5DA4B
analogous
#4BA3E5 #4B56E5 #8D4BE5
triadic
#4B56E5 #E54B56 #56E54B
tetradic
#4B56E5 #E54BA3 #E5DA4B #4BE58D
square
#4B56E5 #E54BA3 #E5DA4B #4BE58D
split-complementary
#4B56E5 #E58D4B #A3E54B
monochromatic
#17219F #1F2CD4 #4B56E5 #8088ED #B6BAF4

Accessibility & contrast

On white

5.58
#4B56E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4B56E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56E5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56E5#FFFFFF#000000##FFFFFF
##4B56E51.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.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: #4b56e5;
/* rgb */ color: rgb(75, 86, 229);
/* oklch */ color: oklch(53.3% 0.213 273.3);
Tailwind
colors: {
  custom: {
    50: '#8f86ee',
    500: '#4b56e5',
    950: '#000000',
  },
}
SCSS
$custom: #4b56e5;
$custom-light: #8f86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56e5",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 235.714,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.21333,
    "h": 273.3
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#4B56E5
secondary
#E4E0A8
accent
#E436F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4B56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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