#4951CB#4951CB

#4951CB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.186 H 274.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4951CB
RGBrgb(73, 81, 203)
HSLhsl(236, 56%, 54%)
HSVhsv(236, 64%, 80%)
CMYKcmyk(64%, 60.1%, 0%, 20.4%)
CIE-LABlab(40.59, 34.80, -64.42)
CIE-LCHlch(40.59, 73.22, 298.38°)
OKLaboklab(50.18% 0.015 -0.1855)
OKLCHoklch(50.18% 0.186 274.6)
XYZxyz(16.4660, 11.6117, 57.8619)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4951CB #CBC349
analogous
#4992CB #4951CB #8249CB
triadic
#4951CB #CB4951 #51CB49
tetradic
#4951CB #CB4992 #CBC349 #49CB82
square
#4951CB #CB4992 #CBC349 #49CB82
split-complementary
#4951CB #CB8249 #92CB49
monochromatic
#222777 #3037A7 #4951CB #797FD9 #A8ACE6

Accessibility & contrast

On white

6.32
#4951CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4951CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4951CB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4951CB#FFFFFF#000000##FFFFFF
##4951CB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4951cb;
/* rgb */ color: rgb(73, 81, 203);
/* oklch */ color: oklch(50.2% 0.186 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a82dc',
    500: '#4951cb',
    950: '#000000',
  },
}
SCSS
$custom: #4951cb;
$custom-light: #8a82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4951cb",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 236.308,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5018,
    "c": 0.18612,
    "h": 274.6
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#4951CB
secondary
#D4D09C
accent
#D649DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4951CB

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

Preview Lab → · Contrast checker → · Palette generator →

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