#4951CD#4951CD

#4951CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.189 H 274.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4951CD
RGBrgb(73, 81, 205)
HSLhsl(236, 57%, 55%)
HSVhsv(236, 64%, 80%)
CMYKcmyk(64.4%, 60.5%, 0%, 19.6%)
CIE-LABlab(40.75, 35.48, -65.33)
CIE-LCHlch(40.75, 74.34, 298.50°)
OKLaboklab(50.34% 0.015 -0.1882)
OKLCHoklch(50.34% 0.189 274.5)
XYZxyz(16.7059, 11.7077, 59.1252)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951CD #CDC549
analogous
#4993CD #4951CD #8349CD
triadic
#4951CD #CD4951 #51CD49
tetradic
#4951CD #CD4993 #CDC549 #49CD83
square
#4951CD #CD4993 #CDC549 #49CD83
split-complementary
#4951CD #CD8349 #93CD49
monochromatic
#22277A #2F36AA #4951CD #797FDA #A9ADE7

Accessibility & contrast

On white

6.28
#4951CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4951CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951CD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951CD#FFFFFF#000000##FFFFFF
##4951CD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4951cd;
/* rgb */ color: rgb(73, 81, 205);
/* oklch */ color: oklch(50.3% 0.189 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a82dd',
    500: '#4951cd',
    950: '#000000',
  },
}
SCSS
$custom: #4951cd;
$custom-light: #8a82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4951cd",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 236.364,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.18875,
    "h": 274.5
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#4951CD
secondary
#D5D19D
accent
#D748E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4951CD

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

Preview Lab → · Contrast checker → · Palette generator →

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