#4B57DC#4B57DC

#4B57DC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.8% C 0.201 H 273.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4B57DC
RGBrgb(75, 87, 220)
HSLhsl(235, 67%, 58%)
HSVhsv(235, 66%, 86%)
CMYKcmyk(65.9%, 60.5%, 0%, 13.7%)
CIE-LABlab(43.47, 37.14, -69.48)
CIE-LCHlch(43.47, 78.79, 298.13°)
OKLaboklab(52.75% 0.0119 -0.2003)
OKLCHoklch(52.75% 0.201 273.4)
XYZxyz(19.2238, 13.4778, 69.2847)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57DC #DCD04B
analogous
#4BA0DC #4B57DC #874BDC
triadic
#4B57DC #DC4B57 #57DC4B
tetradic
#4B57DC #DC4BA0 #DCD04B #4BDC87
square
#4B57DC #DC4BA0 #DCD04B #4BDC87
split-complementary
#4B57DC #DC874B #A0DC4B
monochromatic
#1C2691 #2633C4 #4B57DC #7E87E6 #B1B7F0

Accessibility & contrast

On white

5.68
#4B57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4B57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57DC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57DC#FFFFFF#000000##FFFFFF
##4B57DC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b57dc;
/* rgb */ color: rgb(75, 87, 220);
/* oklch */ color: oklch(52.8% 0.201 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d86e8',
    500: '#4b57dc',
    950: '#000000',
  },
}
SCSS
$custom: #4b57dc;
$custom-light: #8d86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57dc",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 235.034,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52753,
    "c": 0.20061,
    "h": 273.4
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#4B57DC
secondary
#DEDAA4
accent
#DC3DEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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