#4B57D0#4B57D0

#4B57D0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.185 H 273.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4B57D0
RGBrgb(75, 87, 208)
HSLhsl(235, 59%, 55%)
HSVhsv(235, 64%, 82%)
CMYKcmyk(63.9%, 58.2%, 0%, 18.4%)
CIE-LABlab(42.56, 33.07, -64.10)
CIE-LCHlch(42.56, 72.13, 297.29°)
OKLaboklab(51.79% 0.012 -0.1845)
OKLCHoklch(51.79% 0.185 273.7)
XYZxyz(17.6912, 12.8648, 61.2131)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57D0 #D0C44B
analogous
#4B9AD0 #4B57D0 #814BD0
triadic
#4B57D0 #D04B57 #57D04B
tetradic
#4B57D0 #D04B9A #D0C44B #4BD081
square
#4B57D0 #D04B9A #D0C44B #4BD081
split-complementary
#4B57D0 #D0814B #9AD04B
monochromatic
#212A7F #2E3AB0 #4B57D0 #7C84DD #ACB2E9

Accessibility & contrast

On white

5.88
#4B57D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4B57D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57D0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57D0#FFFFFF#000000##FFFFFF
##4B57D01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b57d0;
/* rgb */ color: rgb(75, 87, 208);
/* oklch */ color: oklch(51.8% 0.185 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b86df',
    500: '#4b57d0',
    950: '#000000',
  },
}
SCSS
$custom: #4b57d0;
$custom-light: #8b86df;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57d0",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 208
  },
  "hsl": {
    "h": 234.586,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.18485,
    "h": 273.7
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#4B57D0
secondary
#D7D2A0
accent
#D446E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B57D0

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

Preview Lab → · Contrast checker → · Palette generator →

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