#4957D5#4957D5

#4957D5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.192 H 272.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4957D5
RGBrgb(73, 87, 213)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(65.7%, 59.2%, 0%, 16.5%)
CIE-LABlab(42.82, 34.47, -66.56)
CIE-LCHlch(42.82, 74.96, 297.38°)
OKLaboklab(52.07% 0.0099 -0.1917)
OKLCHoklch(52.07% 0.192 272.9)
XYZxyz(18.1621, 13.0353, 64.4968)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957D5 #D5C749
analogous
#499DD5 #4957D5 #8149D5
triadic
#4957D5 #D54957 #57D549
tetradic
#4957D5 #D5499D #D5C749 #49D581
square
#4957D5 #D5499D #D5C749 #49D581
split-complementary
#4957D5 #D58149 #9DD549
monochromatic
#1F2985 #2A38B7 #4957D5 #7B85E0 #ACB3EC

Accessibility & contrast

On white

5.82
#4957D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4957D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957D5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957D5#FFFFFF#000000##FFFFFF
##4957D51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4957d5;
/* rgb */ color: rgb(73, 87, 213);
/* oklch */ color: oklch(52.1% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#8b86e3',
    500: '#4957d5',
    950: '#000000',
  },
}
SCSS
$custom: #4957d5;
$custom-light: #8b86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4957d5",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 234,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.19198,
    "h": 272.9
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#4957D5
secondary
#DAD4A0
accent
#D542E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4957D5

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

Preview Lab → · Contrast checker → · Palette generator →

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