#4957CB#4957CB

#4957CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.179 H 273.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4957CB
RGBrgb(73, 87, 203)
HSLhsl(234, 56%, 54%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(64%, 57.1%, 0%, 20.4%)
CIE-LABlab(42.07, 31.05, -62.03)
CIE-LCHlch(42.07, 69.36, 296.59°)
OKLaboklab(51.27% 0.0098 -0.1784)
OKLCHoklch(51.27% 0.179 273.2)
XYZxyz(16.9318, 12.5432, 58.0171)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957CB #CBBD49
analogous
#4998CB #4957CB #7C49CB
triadic
#4957CB #CB4957 #57CB49
tetradic
#4957CB #CB4998 #CBBD49 #49CB7C
square
#4957CB #CB4998 #CBBD49 #49CB7C
split-complementary
#4957CB #CB7C49 #98CB49
monochromatic
#222B77 #303DA7 #4957CB #7983D9 #A8AFE6

Accessibility & contrast

On white

5.98
#4957CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4957CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957CB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957CB#FFFFFF#000000##FFFFFF
##4957CB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4957cb;
/* rgb */ color: rgb(73, 87, 203);
/* oklch */ color: oklch(51.3% 0.179 273.2);
Tailwind
colors: {
  custom: {
    50: '#8986dc',
    500: '#4957cb',
    950: '#000000',
  },
}
SCSS
$custom: #4957cb;
$custom-light: #8986dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4957cb",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 233.538,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.17867,
    "h": 273.2
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#4957CB
secondary
#D4CE9C
accent
#CF49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4957CB

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

Preview Lab → · Contrast checker → · Palette generator →

#4957CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva