#4954CE#4954CE

#4954CE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.186 H 273.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4954CE
RGBrgb(73, 84, 206)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 65%, 81%)
CMYKcmyk(64.6%, 59.2%, 0%, 19.2%)
CIE-LABlab(41.55, 33.95, -64.60)
CIE-LCHlch(41.55, 72.97, 297.73°)
OKLaboklab(50.96% 0.0124 -0.186)
OKLCHoklch(50.96% 0.186 273.8)
XYZxyz(17.0549, 12.2119, 59.8389)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954CE #CEC349
analogous
#4996CE #4954CE #8149CE
triadic
#4954CE #CE4954 #54CE49
tetradic
#4954CE #CE4996 #CEC349 #49CE81
square
#4954CE #CE4996 #CEC349 #49CE81
split-complementary
#4954CE #CE8149 #96CE49
monochromatic
#21297B #2E39AC #4954CE #7981DB #A9AFE8

Accessibility & contrast

On white

6.10
#4954CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4954CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954CE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954CE#FFFFFF#000000##FFFFFF
##4954CE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4954ce;
/* rgb */ color: rgb(73, 84, 206);
/* oklch */ color: oklch(51.0% 0.186 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a84de',
    500: '#4954ce',
    950: '#000000',
  },
}
SCSS
$custom: #4954ce;
$custom-light: #8a84de;
$custom-dark: #000000;
JSON
{
  "hex": "#4954ce",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 235.038,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.1864,
    "h": 273.8
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#4954CE
secondary
#D5D19D
accent
#D447E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4954CE

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

Preview Lab → · Contrast checker → · Palette generator →

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