#4B57CE#4B57CE

#4B57CE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.182 H 273.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4B57CE
RGBrgb(75, 87, 206)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 64%, 81%)
CMYKcmyk(63.6%, 57.8%, 0%, 19.2%)
CIE-LABlab(42.41, 32.39, -63.19)
CIE-LCHlch(42.41, 71.01, 297.14°)
OKLaboklab(51.63% 0.012 -0.1818)
OKLCHoklch(51.63% 0.182 273.8)
XYZxyz(17.4467, 12.7670, 59.9254)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57CE #CEC24B
analogous
#4B98CE #4B57CE #814BCE
triadic
#4B57CE #CE4B57 #57CE4B
tetradic
#4B57CE #CE4B98 #CEC24B #4BCE81
square
#4B57CE #CE4B98 #CEC24B #4BCE81
split-complementary
#4B57CE #CE814B #98CE4B
monochromatic
#222A7D #2F3BAD #4B57CE #7B84DB #ABB1E8

Accessibility & contrast

On white

5.91
#4B57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4B57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57CE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57CE#FFFFFF#000000##FFFFFF
##4B57CE1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b57ce;
/* rgb */ color: rgb(75, 87, 206);
/* oklch */ color: oklch(51.6% 0.182 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b86de',
    500: '#4b57ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b57ce;
$custom-light: #8b86de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57ce",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 234.504,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51631,
    "c": 0.18219,
    "h": 273.8
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#4B57CE
secondary
#D6D19F
accent
#D247E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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