#4B57D5#4B57D5

#4B57D5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.191 H 273.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4B57D5
RGBrgb(75, 87, 213)
HSLhsl(235, 62%, 56%)
HSVhsv(235, 65%, 84%)
CMYKcmyk(64.8%, 59.2%, 0%, 16.5%)
CIE-LABlab(42.94, 34.77, -66.36)
CIE-LCHlch(42.94, 74.92, 297.65°)
OKLaboklab(52.19% 0.012 -0.1911)
OKLCHoklch(52.19% 0.191 273.6)
XYZxyz(18.3161, 13.1147, 64.5041)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57D5 #D5C94B
analogous
#4B9CD5 #4B57D5 #844BD5
triadic
#4B57D5 #D54B57 #57D54B
tetradic
#4B57D5 #D54B9C #D5C94B #4BD584
square
#4B57D5 #D54B9C #D5C94B #4BD584
split-complementary
#4B57D5 #D5844B #9CD54B
monochromatic
#1F2886 #2B37B8 #4B57D5 #7D85E1 #AEB4EC

Accessibility & contrast

On white

5.80
#4B57D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4B57D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57D5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57D5#FFFFFF#000000##FFFFFF
##4B57D51.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b57d5;
/* rgb */ color: rgb(75, 87, 213);
/* oklch */ color: oklch(52.2% 0.191 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c86e3',
    500: '#4b57d5',
    950: '#000000',
  },
}
SCSS
$custom: #4b57d5;
$custom-light: #8c86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57d5",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 234.783,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.19147,
    "h": 273.6
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#4B57D5
secondary
#DAD5A2
accent
#D743E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B57D5

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

Preview Lab → · Contrast checker → · Palette generator →

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