#4954CB#4954CB

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

Color values

HEX#4954CB
RGBrgb(73, 84, 203)
HSLhsl(235, 56%, 54%)
HSVhsv(235, 64%, 80%)
CMYKcmyk(64%, 58.6%, 0%, 20.4%)
CIE-LABlab(41.32, 32.93, -63.23)
CIE-LCHlch(41.32, 71.30, 297.51°)
OKLaboklab(50.72% 0.0124 -0.182)
OKLCHoklch(50.72% 0.182 273.9)
XYZxyz(16.6939, 12.0675, 57.9378)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954CB #CBC049
analogous
#4995CB #4954CB #7F49CB
triadic
#4954CB #CB4954 #54CB49
tetradic
#4954CB #CB4995 #CBC049 #49CB7F
square
#4954CB #CB4995 #CBC049 #49CB7F
split-complementary
#4954CB #CB7F49 #95CB49
monochromatic
#222977 #303AA7 #4954CB #7981D9 #A8ADE6

Accessibility & contrast

On white

6.15
#4954CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4954CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954CB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954CB#FFFFFF#000000##FFFFFF
##4954CB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4954cb;
/* rgb */ color: rgb(73, 84, 203);
/* oklch */ color: oklch(50.7% 0.182 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a84dc',
    500: '#4954cb',
    950: '#000000',
  },
}
SCSS
$custom: #4954cb;
$custom-light: #8a84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4954cb",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 234.923,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.18242,
    "h": 273.9
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#4954CB
secondary
#D4CF9C
accent
#D249DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4954CB

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

Preview Lab → · Contrast checker → · Palette generator →

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