#4954CD#4954CD

#4954CD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.185 H 273.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4954CD
RGBrgb(73, 84, 205)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 64%, 80%)
CMYKcmyk(64.4%, 59%, 0%, 19.6%)
CIE-LABlab(41.47, 33.61, -64.14)
CIE-LCHlch(41.47, 72.42, 297.65°)
OKLaboklab(50.88% 0.0124 -0.1847)
OKLCHoklch(50.88% 0.185 273.9)
XYZxyz(16.9338, 12.1634, 59.2012)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954CD #CDC249
analogous
#4996CD #4954CD #8049CD
triadic
#4954CD #CD4954 #54CD49
tetradic
#4954CD #CD4996 #CDC249 #49CD80
square
#4954CD #CD4996 #CDC249 #49CD80
split-complementary
#4954CD #CD8049 #96CD49
monochromatic
#22297A #2F39AA #4954CD #7981DA #A9AEE7

Accessibility & contrast

On white

6.12
#4954CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4954CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954CD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954CD#FFFFFF#000000##FFFFFF
##4954CD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4954cd;
/* rgb */ color: rgb(73, 84, 205);
/* oklch */ color: oklch(50.9% 0.185 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a84dd',
    500: '#4954cd',
    950: '#000000',
  },
}
SCSS
$custom: #4954cd;
$custom-light: #8a84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4954cd",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 235,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.18508,
    "h": 273.9
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4954CD

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

Preview Lab → · Contrast checker → · Palette generator →

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