#4B57EC#4B57EC

#4B57EC is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.221 H 272.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4B57EC
RGBrgb(75, 87, 236)
HSLhsl(236, 81%, 61%)
HSVhsv(236, 68%, 93%)
CMYKcmyk(68.2%, 63.1%, 0%, 7.5%)
CIE-LABlab(44.75, 42.52, -76.46)
CIE-LCHlch(44.75, 87.49, 299.08°)
OKLaboklab(54.09% 0.0111 -0.2207)
OKLCHoklch(54.09% 0.221 272.9)
XYZxyz(21.4451, 14.3663, 80.9834)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57EC #ECE04B
analogous
#4BA7EC #4B57EC #8F4BEC
triadic
#4B57EC #EC4B57 #57EC4B
tetradic
#4B57EC #EC4BA7 #ECE04B #4BEC8F
square
#4B57EC #EC4BA7 #ECE04B #4BEC8F
split-complementary
#4B57EC #EC8F4B #A7EC4B
monochromatic
#121DAB #1827E2 #4B57EC #828BF2 #BABEF8

Accessibility & contrast

On white

5.42
#4B57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4B57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57EC#FFFFFF#000000##FFFFFF
##4B57EC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b57ec;
/* rgb */ color: rgb(75, 87, 236);
/* oklch */ color: oklch(54.1% 0.221 272.9);
Tailwind
colors: {
  custom: {
    50: '#9186f3',
    500: '#4b57ec',
    950: '#000000',
  },
}
SCSS
$custom: #4b57ec;
$custom-light: #9186f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57ec",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 235.528,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.22102,
    "h": 272.9
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#4B57EC
secondary
#E8E3AB
accent
#CD08DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4B57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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