#4957CD#4957CD

#4957CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.181 H 273.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4957CD
RGBrgb(73, 87, 205)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(64.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.21, 31.73, -62.94)
CIE-LCHlch(42.21, 70.49, 296.76°)
OKLaboklab(51.43% 0.0099 -0.1811)
OKLCHoklch(51.43% 0.181 273.1)
XYZxyz(17.1716, 12.6391, 59.2804)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957CD #CDBF49
analogous
#4999CD #4957CD #7D49CD
triadic
#4957CD #CD4957 #57CD49
tetradic
#4957CD #CD4999 #CDBF49 #49CD7D
square
#4957CD #CD4999 #CDBF49 #49CD7D
split-complementary
#4957CD #CD7D49 #99CD49
monochromatic
#222B7A #2F3CAA #4957CD #7983DA #A9B0E7

Accessibility & contrast

On white

5.95
#4957CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4957CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957CD#FFFFFF#000000##FFFFFF
##4957CD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.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: #4957cd;
/* rgb */ color: rgb(73, 87, 205);
/* oklch */ color: oklch(51.4% 0.181 273.1);
Tailwind
colors: {
  custom: {
    50: '#8a86dd',
    500: '#4957cd',
    950: '#000000',
  },
}
SCSS
$custom: #4957cd;
$custom-light: #8a86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4957cd",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 233.636,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.18136,
    "h": 273.1
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#4957CD
secondary
#D5CF9D
accent
#D048E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4957CD

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

Preview Lab → · Contrast checker → · Palette generator →

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