#4B57E4#4B57E4

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

Color values

HEX#4B57E4
RGBrgb(75, 87, 228)
HSLhsl(235, 74%, 59%)
HSVhsv(235, 67%, 89%)
CMYKcmyk(67.1%, 61.8%, 0%, 10.6%)
CIE-LABlab(44.11, 39.84, -73.00)
CIE-LCHlch(44.11, 83.16, 298.62°)
OKLaboklab(53.42% 0.0116 -0.2106)
OKLCHoklch(53.42% 0.211 273.1)
XYZxyz(20.3088, 13.9118, 74.9987)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57E4 #E4D84B
analogous
#4BA4E4 #4B57E4 #8C4BE4
triadic
#4B57E4 #E44B57 #57E44B
tetradic
#4B57E4 #E44BA4 #E4D84B #4BE48C
square
#4B57E4 #E44BA4 #E4D84B #4BE48C
split-complementary
#4B57E4 #E48C4B #A4E44B
monochromatic
#18229D #202ED2 #4B57E4 #8089EC #B5BAF4

Accessibility & contrast

On white

5.55
#4B57E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B57E4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57E4#FFFFFF#000000##FFFFFF
##4B57E41.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b57e4;
/* rgb */ color: rgb(75, 87, 228);
/* oklch */ color: oklch(53.4% 0.211 273.1);
Tailwind
colors: {
  custom: {
    50: '#8f86ee',
    500: '#4b57e4',
    950: '#000000',
  },
}
SCSS
$custom: #4b57e4;
$custom-light: #8f86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57e4",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 235.294,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.2109,
    "h": 273.1
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#4B57E4
secondary
#E3DFA8
accent
#E237F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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