#4954D5#4954D5

#4954D5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.196 H 273.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4954D5
RGBrgb(73, 84, 213)
HSLhsl(235, 63%, 56%)
HSVhsv(235, 66%, 84%)
CMYKcmyk(65.7%, 60.6%, 0%, 16.5%)
CIE-LABlab(42.09, 36.33, -67.74)
CIE-LCHlch(42.09, 76.87, 298.21°)
OKLaboklab(51.53% 0.0123 -0.1952)
OKLCHoklch(51.53% 0.196 273.6)
XYZxyz(17.9242, 12.5596, 64.4175)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954D5 #D5CA49
analogous
#499AD5 #4954D5 #8449D5
triadic
#4954D5 #D54954 #54D549
tetradic
#4954D5 #D5499A #D5CA49 #49D584
square
#4954D5 #D5499A #D5CA49 #49D584
split-complementary
#4954D5 #D58449 #9AD549
monochromatic
#1F2785 #2A35B7 #4954D5 #7B83E0 #ACB1EC

Accessibility & contrast

On white

5.98
#4954D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4954D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954D5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954D5#FFFFFF#000000##FFFFFF
##4954D51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4954d5;
/* rgb */ color: rgb(73, 84, 213);
/* oklch */ color: oklch(51.5% 0.196 273.6);
Tailwind
colors: {
  custom: {
    50: '#8b84e3',
    500: '#4954d5',
    950: '#000000',
  },
}
SCSS
$custom: #4954d5;
$custom-light: #8b84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4954d5",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 235.286,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.19561,
    "h": 273.6
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#4954D5
secondary
#DAD5A0
accent
#D942E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4954D5

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

Preview Lab → · Contrast checker → · Palette generator →

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