#4954DC#4954DC

#4954DC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.1% C 0.205 H 273.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4954DC
RGBrgb(73, 84, 220)
HSLhsl(236, 68%, 57%)
HSVhsv(236, 67%, 86%)
CMYKcmyk(66.8%, 61.8%, 0%, 13.7%)
CIE-LABlab(42.65, 38.70, -70.84)
CIE-LCHlch(42.65, 80.72, 298.65°)
OKLaboklab(52.11% 0.012 -0.2043)
OKLCHoklch(52.11% 0.205 273.4)
XYZxyz(18.8319, 12.9227, 69.1982)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954DC #DCD149
analogous
#499EDC #4954DC #8749DC
triadic
#4954DC #DC4954 #54DC49
tetradic
#4954DC #DC499E #DCD149 #49DC87
square
#4954DC #DC499E #DCD149 #49DC87
split-complementary
#4954DC #DC8749 #9EDC49
monochromatic
#1C248F #2531C2 #4954DC #7C84E6 #B0B4F0

Accessibility & contrast

On white

5.86
#4954DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4954DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954DC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954DC#FFFFFF#000000##FFFFFF
##4954DC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4954dc;
/* rgb */ color: rgb(73, 84, 220);
/* oklch */ color: oklch(52.1% 0.205 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d84e8',
    500: '#4954dc',
    950: '#000000',
  },
}
SCSS
$custom: #4954dc;
$custom-light: #8d84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4954dc",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 235.51,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.20467,
    "h": 273.4
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#4954DC
secondary
#DEDAA3
accent
#DE3DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4954DC

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

Preview Lab → · Contrast checker → · Palette generator →

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