#4951E7#4951E7

#4951E7 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.222 H 273.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4951E7
RGBrgb(73, 81, 231)
HSLhsl(237, 77%, 60%)
HSVhsv(237, 68%, 91%)
CMYKcmyk(68.4%, 64.9%, 0%, 9.4%)
CIE-LABlab(42.87, 44.20, -76.73)
CIE-LCHlch(42.87, 88.55, 299.94°)
OKLaboklab(52.55% 0.0135 -0.2216)
OKLCHoklch(52.55% 0.222 273.5)
XYZxyz(20.1091, 13.0689, 77.0486)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951E7 #E7DF49
analogous
#49A0E7 #4951E7 #9049E7
triadic
#4951E7 #E74951 #51E749
tetradic
#4951E7 #E749A0 #E7DF49 #49E790
square
#4951E7 #E749A0 #E7DF49 #49E790
split-complementary
#4951E7 #E79049 #A0E749
monochromatic
#151CA0 #1C26D7 #4951E7 #7F85EE #B5B8F5

Accessibility & contrast

On white

5.81
#4951E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4951E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951E7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951E7#FFFFFF#000000##FFFFFF
##4951E71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4951e7;
/* rgb */ color: rgb(73, 81, 231);
/* oklch */ color: oklch(52.6% 0.222 273.5);
Tailwind
colors: {
  custom: {
    50: '#8f82f0',
    500: '#4951e7',
    950: '#000000',
  },
}
SCSS
$custom: #4951e7;
$custom-light: #8f82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4951e7",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 236.962,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.22201,
    "h": 273.5
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#4951E7
secondary
#E5E1A7
accent
#EA35F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4951E7

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

Preview Lab → · Contrast checker → · Palette generator →

#4951E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva