#4B57C2#4B57C2

#4B57C2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.166 H 274.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4B57C2
RGBrgb(75, 87, 194)
HSLhsl(234, 49%, 53%)
HSVhsv(234, 61%, 76%)
CMYKcmyk(61.3%, 55.2%, 0%, 23.9%)
CIE-LABlab(41.54, 28.31, -57.66)
CIE-LCHlch(41.54, 64.23, 296.15°)
OKLaboklab(50.71% 0.0118 -0.1655)
OKLCHoklch(50.71% 0.166 274.1)
XYZxyz(16.0442, 12.2060, 52.5390)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57C2 #C2B64B
analogous
#4B92C2 #4B57C2 #7B4BC2
triadic
#4B57C2 #C24B57 #57C24B
tetradic
#4B57C2 #C24B92 #C2B64B #4BC27B
square
#4B57C2 #C24B92 #C2B64B #4BC27B
split-complementary
#4B57C2 #C27B4B #92C24B
monochromatic
#252C6D #353F9B #4B57C2 #7982D1 #A6ACE1

Accessibility & contrast

On white

6.10
#4B57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4B57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57C2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57C2#FFFFFF#000000##FFFFFF
##4B57C21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0267C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b57c2;
/* rgb */ color: rgb(75, 87, 194);
/* oklch */ color: oklch(50.7% 0.166 274.1);
Tailwind
colors: {
  custom: {
    50: '#8986d5',
    500: '#4b57c2',
    950: '#000000',
  },
}
SCSS
$custom: #4b57c2;
$custom-light: #8986d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57c2",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 233.95,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.16593,
    "h": 274.1
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#4B57C2
secondary
#CEC99B
accent
#CB4FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4B57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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