#4957D2#4957D2

#4957D2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.188 H 273.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4957D2
RGBrgb(73, 87, 210)
HSLhsl(234, 60%, 55%)
HSVhsv(234, 65%, 82%)
CMYKcmyk(65.2%, 58.6%, 0%, 17.6%)
CIE-LABlab(42.59, 33.45, -65.21)
CIE-LCHlch(42.59, 73.29, 297.15°)
OKLaboklab(51.83% 0.0099 -0.1878)
OKLCHoklch(51.83% 0.188 273)
XYZxyz(17.7848, 12.8844, 62.5100)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957D2 #D2C449
analogous
#499BD2 #4957D2 #8049D2
triadic
#4957D2 #D24957 #57D249
tetradic
#4957D2 #D2499B #D2C449 #49D280
square
#4957D2 #D2499B #D2C449 #49D280
split-complementary
#4957D2 #D28049 #9BD249
monochromatic
#202A81 #2C3AB2 #4957D2 #7A84DE #ABB2EA

Accessibility & contrast

On white

5.87
#4957D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4957D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957D2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957D2#FFFFFF#000000##FFFFFF
##4957D21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4957d2;
/* rgb */ color: rgb(73, 87, 210);
/* oklch */ color: oklch(51.8% 0.188 273.0);
Tailwind
colors: {
  custom: {
    50: '#8b86e1',
    500: '#4957d2',
    950: '#000000',
  },
}
SCSS
$custom: #4957d2;
$custom-light: #8b86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4957d2",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 233.869,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.18802,
    "h": 273
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#4957D2
secondary
#D8D29F
accent
#D344E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4957D2

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

Preview Lab → · Contrast checker → · Palette generator →

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