#4957CE#4957CE

#4957CE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.183 H 273.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4957CE
RGBrgb(73, 87, 206)
HSLhsl(234, 58%, 55%)
HSVhsv(234, 65%, 81%)
CMYKcmyk(64.6%, 57.8%, 0%, 19.2%)
CIE-LABlab(42.29, 32.08, -63.40)
CIE-LCHlch(42.29, 71.05, 296.84°)
OKLaboklab(51.51% 0.0099 -0.1824)
OKLCHoklch(51.51% 0.183 273.1)
XYZxyz(17.2927, 12.6876, 59.9182)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957CE #CEC049
analogous
#499ACE #4957CE #7D49CE
triadic
#4957CE #CE4957 #57CE49
tetradic
#4957CE #CE499A #CEC049 #49CE7D
square
#4957CE #CE499A #CEC049 #49CE7D
split-complementary
#4957CE #CE7D49 #9ACE49
monochromatic
#212B7B #2E3BAC #4957CE #7984DB #A9B0E8

Accessibility & contrast

On white

5.94
#4957CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4957CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957CE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957CE#FFFFFF#000000##FFFFFF
##4957CE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4957ce;
/* rgb */ color: rgb(73, 87, 206);
/* oklch */ color: oklch(51.5% 0.183 273.1);
Tailwind
colors: {
  custom: {
    50: '#8a86de',
    500: '#4957ce',
    950: '#000000',
  },
}
SCSS
$custom: #4957ce;
$custom-light: #8a86de;
$custom-dark: #000000;
JSON
{
  "hex": "#4957ce",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 233.684,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.1827,
    "h": 273.1
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#4957CE
secondary
#D5D09D
accent
#D147E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4957CE

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

Preview Lab → · Contrast checker → · Palette generator →

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