#4B56EC#4B56EC

#4B56EC is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.222 H 273.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4B56EC
RGBrgb(75, 86, 236)
HSLhsl(236, 81%, 61%)
HSVhsv(236, 68%, 93%)
CMYKcmyk(68.2%, 63.6%, 0%, 7.5%)
CIE-LABlab(44.53, 43.12, -76.83)
CIE-LCHlch(44.53, 88.11, 299.30°)
OKLaboklab(53.92% 0.0118 -0.2218)
OKLCHoklch(53.92% 0.222 273.1)
XYZxyz(21.3647, 14.2055, 80.9566)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56EC #ECE14B
analogous
#4BA6EC #4B56EC #904BEC
triadic
#4B56EC #EC4B56 #56EC4B
tetradic
#4B56EC #EC4BA6 #ECE14B #4BEC90
square
#4B56EC #EC4BA6 #ECE14B #4BEC90
split-complementary
#4B56EC #EC904B #A6EC4B
monochromatic
#121CAB #1826E2 #4B56EC #828AF2 #BABEF8

Accessibility & contrast

On white

5.47
#4B56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4B56EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56EC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56EC#FFFFFF#000000##FFFFFF
##4B56EC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0062E9
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b56ec;
/* rgb */ color: rgb(75, 86, 236);
/* oklch */ color: oklch(53.9% 0.222 273.1);
Tailwind
colors: {
  custom: {
    50: '#9186f3',
    500: '#4b56ec',
    950: '#000000',
  },
}
SCSS
$custom: #4b56ec;
$custom-light: #9186f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56ec",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 235.901,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53924,
    "c": 0.22215,
    "h": 273.1
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#4B56EC
secondary
#E8E4AB
accent
#CF08DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4B56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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