#4957D7#4957D7

#4957D7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.195 H 272.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4957D7
RGBrgb(73, 87, 215)
HSLhsl(234, 64%, 56%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(66%, 59.5%, 0%, 15.7%)
CIE-LABlab(42.97, 35.16, -67.45)
CIE-LCHlch(42.97, 76.07, 297.53°)
OKLaboklab(52.23% 0.0098 -0.1944)
OKLCHoklch(52.23% 0.195 272.9)
XYZxyz(18.4175, 13.1375, 65.8420)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957D7 #D7C949
analogous
#499ED7 #4957D7 #8249D7
triadic
#4957D7 #D74957 #57D749
tetradic
#4957D7 #D7499E #D7C949 #49D782
square
#4957D7 #D7499E #D7C949 #49D782
split-complementary
#4957D7 #D78249 #9ED749
monochromatic
#1E2888 #2937BA #4957D7 #7B85E2 #ADB4ED

Accessibility & contrast

On white

5.79
#4957D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4957D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957D7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957D7#FFFFFF#000000##FFFFFF
##4957D71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4957d7;
/* rgb */ color: rgb(73, 87, 215);
/* oklch */ color: oklch(52.2% 0.195 272.9);
Tailwind
colors: {
  custom: {
    50: '#8c86e4',
    500: '#4957d7',
    950: '#000000',
  },
}
SCSS
$custom: #4957d7;
$custom-light: #8c86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4957d7",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 234.085,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.19461,
    "h": 272.9
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#4957D7
secondary
#DBD5A1
accent
#D741E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4957D7

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

Preview Lab → · Contrast checker → · Palette generator →

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