#4957D8#4957D8

#4957D8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.196 H 272.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4957D8
RGBrgb(73, 87, 216)
HSLhsl(234, 65%, 57%)
HSVhsv(234, 66%, 85%)
CMYKcmyk(66.2%, 59.7%, 0%, 15.3%)
CIE-LABlab(43.05, 35.50, -67.90)
CIE-LCHlch(43.05, 76.62, 297.60°)
OKLaboklab(52.31% 0.0098 -0.1957)
OKLCHoklch(52.31% 0.196 272.9)
XYZxyz(18.5464, 13.1890, 66.5208)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957D8 #D8CA49
analogous
#499FD8 #4957D8 #8349D8
triadic
#4957D8 #D84957 #57D849
tetradic
#4957D8 #D8499F #D8CA49 #49D883
square
#4957D8 #D8499F #D8CA49 #49D883
split-complementary
#4957D8 #D88349 #9FD849
monochromatic
#1D2889 #2837BC #4957D8 #7B86E3 #AEB4EE

Accessibility & contrast

On white

5.77
#4957D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4957D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957D8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957D8#FFFFFF#000000##FFFFFF
##4957D81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4957d8;
/* rgb */ color: rgb(73, 87, 216);
/* oklch */ color: oklch(52.3% 0.196 272.9);
Tailwind
colors: {
  custom: {
    50: '#8c86e5',
    500: '#4957d8',
    950: '#000000',
  },
}
SCSS
$custom: #4957d8;
$custom-light: #8c86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4957d8",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 234.126,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.19592,
    "h": 272.9
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#4957D8
secondary
#DCD6A1
accent
#D740E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4957D8

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

Preview Lab → · Contrast checker → · Palette generator →

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