#4951CE#4951CE

#4951CE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.190 H 274.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4951CE
RGBrgb(73, 81, 206)
HSLhsl(236, 58%, 55%)
HSVhsv(236, 65%, 81%)
CMYKcmyk(64.6%, 60.7%, 0%, 19.2%)
CIE-LABlab(40.83, 35.82, -65.78)
CIE-LCHlch(40.83, 74.90, 298.57°)
OKLaboklab(50.43% 0.0149 -0.1895)
OKLCHoklch(50.43% 0.19 274.5)
XYZxyz(16.8270, 11.7561, 59.7630)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951CE #CEC649
analogous
#4994CE #4951CE #8449CE
triadic
#4951CE #CE4951 #51CE49
tetradic
#4951CE #CE4994 #CEC649 #49CE84
square
#4951CE #CE4994 #CEC649 #49CE84
split-complementary
#4951CE #CE8449 #94CE49
monochromatic
#21277B #2E36AC #4951CE #797FDB #A9ADE8

Accessibility & contrast

On white

6.27
#4951CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4951CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951CE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951CE#FFFFFF#000000##FFFFFF
##4951CE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4951ce;
/* rgb */ color: rgb(73, 81, 206);
/* oklch */ color: oklch(50.4% 0.190 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a82de',
    500: '#4951ce',
    950: '#000000',
  },
}
SCSS
$custom: #4951ce;
$custom-light: #8a82de;
$custom-dark: #000000;
JSON
{
  "hex": "#4951ce",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 236.391,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.19007,
    "h": 274.5
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#4951CE
secondary
#D5D29D
accent
#D847E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4951CE

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

Preview Lab → · Contrast checker → · Palette generator →

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