#4954D2#4954D2

#4954D2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.192 H 273.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4954D2
RGBrgb(73, 84, 210)
HSLhsl(235, 60%, 55%)
HSVhsv(235, 65%, 82%)
CMYKcmyk(65.2%, 60%, 0%, 17.6%)
CIE-LABlab(41.86, 35.31, -66.40)
CIE-LCHlch(41.86, 75.20, 298.01°)
OKLaboklab(51.29% 0.0124 -0.1913)
OKLCHoklch(51.29% 0.192 273.7)
XYZxyz(17.5470, 12.4087, 62.4307)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954D2 #D2C749
analogous
#4999D2 #4954D2 #8249D2
triadic
#4954D2 #D24954 #54D249
tetradic
#4954D2 #D24999 #D2C749 #49D282
square
#4954D2 #D24999 #D2C749 #49D282
split-complementary
#4954D2 #D28249 #99D249
monochromatic
#202881 #2C37B2 #4954D2 #7A82DE #ABB0EA

Accessibility & contrast

On white

6.03
#4954D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4954D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954D2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954D2#FFFFFF#000000##FFFFFF
##4954D21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4954d2;
/* rgb */ color: rgb(73, 84, 210);
/* oklch */ color: oklch(51.3% 0.192 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b84e1',
    500: '#4954d2',
    950: '#000000',
  },
}
SCSS
$custom: #4954d2;
$custom-light: #8b84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4954d2",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 235.182,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.19168,
    "h": 273.7
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#4954D2
secondary
#D8D39F
accent
#D744E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4954D2

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

Preview Lab → · Contrast checker → · Palette generator →

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