#4954D8#4954D8

#4954D8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.200 H 273.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4954D8
RGBrgb(73, 84, 216)
HSLhsl(235, 65%, 57%)
HSVhsv(235, 66%, 85%)
CMYKcmyk(66.2%, 61.1%, 0%, 15.3%)
CIE-LABlab(42.33, 37.35, -69.07)
CIE-LCHlch(42.33, 78.52, 298.40°)
OKLaboklab(51.78% 0.0122 -0.1991)
OKLCHoklch(51.78% 0.2 273.5)
XYZxyz(18.3085, 12.7133, 66.4415)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954D8 #D8CD49
analogous
#499BD8 #4954D8 #8649D8
triadic
#4954D8 #D84954 #54D849
tetradic
#4954D8 #D8499B #D8CD49 #49D886
square
#4954D8 #D8499B #D8CD49 #49D886
split-complementary
#4954D8 #D88649 #9BD849
monochromatic
#1D2689 #2834BC #4954D8 #7B83E3 #AEB3EE

Accessibility & contrast

On white

5.93
#4954D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4954D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954D8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954D8#FFFFFF#000000##FFFFFF
##4954D81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4954d8;
/* rgb */ color: rgb(73, 84, 216);
/* oklch */ color: oklch(51.8% 0.200 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c84e5',
    500: '#4954d8',
    950: '#000000',
  },
}
SCSS
$custom: #4954d8;
$custom-light: #8c84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4954d8",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 235.385,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.19951,
    "h": 273.5
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#4954D8
secondary
#DCD7A1
accent
#DB40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4954D8

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

Preview Lab → · Contrast checker → · Palette generator →

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