#4B57CD#4B57CD

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

Color values

HEX#4B57CD
RGBrgb(75, 87, 205)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(63.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.34, 32.05, -62.74)
CIE-LCHlch(42.34, 70.45, 297.06°)
OKLaboklab(51.55% 0.012 -0.1804)
OKLCHoklch(51.55% 0.181 273.8)
XYZxyz(17.3256, 12.7186, 59.2877)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57CD #CDC14B
analogous
#4B98CD #4B57CD #804BCD
triadic
#4B57CD #CD4B57 #57CD4B
tetradic
#4B57CD #CD4B98 #CDC14B #4BCD80
square
#4B57CD #CD4B98 #CDC14B #4BCD80
split-complementary
#4B57CD #CD804B #98CD4B
monochromatic
#222A7B #303BAB #4B57CD #7B84DA #ABB0E8

Accessibility & contrast

On white

5.93
#4B57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4B57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57CD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57CD#FFFFFF#000000##FFFFFF
##4B57CD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b57cd;
/* rgb */ color: rgb(75, 87, 205);
/* oklch */ color: oklch(51.6% 0.181 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b86dd',
    500: '#4b57cd',
    950: '#000000',
  },
}
SCSS
$custom: #4b57cd;
$custom-light: #8b86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57cd",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 234.462,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.18084,
    "h": 273.8
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#4B57CD
secondary
#D5D09F
accent
#D248E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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