#4957CC#4957CC

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

Color values

HEX#4957CC
RGBrgb(73, 87, 204)
HSLhsl(234, 56%, 54%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(64.2%, 57.4%, 0%, 20%)
CIE-LABlab(42.14, 31.39, -62.48)
CIE-LCHlch(42.14, 69.93, 296.67°)
OKLaboklab(51.35% 0.0098 -0.1797)
OKLCHoklch(51.35% 0.18 273.1)
XYZxyz(17.0513, 12.5910, 58.6468)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957CC #CCBE49
analogous
#4999CC #4957CC #7D49CC
triadic
#4957CC #CC4957 #57CC49
tetradic
#4957CC #CC4999 #CCBE49 #49CC7D
square
#4957CC #CC4999 #CCBE49 #49CC7D
split-complementary
#4957CC #CC7D49 #99CC49
monochromatic
#222B79 #2F3CA9 #4957CC #7983D9 #A9AFE7

Accessibility & contrast

On white

5.97
#4957CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4957CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957CC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957CC#FFFFFF#000000##FFFFFF
##4957CC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4957cc;
/* rgb */ color: rgb(73, 87, 204);
/* oklch */ color: oklch(51.4% 0.180 273.1);
Tailwind
colors: {
  custom: {
    50: '#8a86dc',
    500: '#4957cc',
    950: '#000000',
  },
}
SCSS
$custom: #4957cc;
$custom-light: #8a86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4957cc",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 233.588,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.18002,
    "h": 273.1
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#4957CC
secondary
#D4CE9D
accent
#CF48E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4957CC

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

Preview Lab → · Contrast checker → · Palette generator →

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