#4954CC#4954CC

#4954CC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.184 H 273.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4954CC
RGBrgb(73, 84, 204)
HSLhsl(235, 56%, 54%)
HSVhsv(235, 64%, 80%)
CMYKcmyk(64.2%, 58.8%, 0%, 20%)
CIE-LABlab(41.40, 33.27, -63.69)
CIE-LCHlch(41.40, 71.86, 297.58°)
OKLaboklab(50.8% 0.0124 -0.1833)
OKLCHoklch(50.8% 0.184 273.9)
XYZxyz(16.8135, 12.1153, 58.5675)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954CC #CCC149
analogous
#4996CC #4954CC #8049CC
triadic
#4954CC #CC4954 #54CC49
tetradic
#4954CC #CC4996 #CCC149 #49CC80
square
#4954CC #CC4996 #CCC149 #49CC80
split-complementary
#4954CC #CC8049 #96CC49
monochromatic
#222979 #2F39A9 #4954CC #7981D9 #A9AEE7

Accessibility & contrast

On white

6.13
#4954CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4954CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954CC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954CC#FFFFFF#000000##FFFFFF
##4954CC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4954cc;
/* rgb */ color: rgb(73, 84, 204);
/* oklch */ color: oklch(50.8% 0.184 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a84dc',
    500: '#4954cc',
    950: '#000000',
  },
}
SCSS
$custom: #4954cc;
$custom-light: #8a84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4954cc",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 234.962,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.18374,
    "h": 273.9
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#4954CC
secondary
#D4D09D
accent
#D348E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4954CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4954CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva