#4957C7#4957C7

#4957C7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.173 H 273.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4957C7
RGBrgb(73, 87, 199)
HSLhsl(233, 53%, 53%)
HSVhsv(233, 63%, 78%)
CMYKcmyk(63.3%, 56.3%, 0%, 22%)
CIE-LABlab(41.77, 29.68, -60.19)
CIE-LCHlch(41.77, 67.11, 296.25°)
OKLaboklab(50.96% 0.0097 -0.173)
OKLCHoklch(50.96% 0.173 273.2)
XYZxyz(16.4612, 12.3550, 55.5390)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957C7 #C7B949
analogous
#4996C7 #4957C7 #7A49C7
triadic
#4957C7 #C74957 #57C749
tetradic
#4957C7 #C74996 #C7B949 #49C77A
square
#4957C7 #C74996 #C7B949 #49C77A
split-complementary
#4957C7 #C77A49 #96C749
monochromatic
#232C72 #323EA1 #4957C7 #7882D5 #A7ADE4

Accessibility & contrast

On white

6.05
#4957C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4957C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957C7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957C7#FFFFFF#000000##FFFFFF
##4957C71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4957c7;
/* rgb */ color: rgb(73, 87, 199);
/* oklch */ color: oklch(51.0% 0.173 273.2);
Tailwind
colors: {
  custom: {
    50: '#8986d9',
    500: '#4957c7',
    950: '#000000',
  },
}
SCSS
$custom: #4957c7;
$custom-light: #8986d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4957c7",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 233.333,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.17327,
    "h": 273.2
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#4957C7
secondary
#D1CB9B
accent
#CC4BDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4957C7

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

Preview Lab → · Contrast checker → · Palette generator →

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