#4954D4#4954D4

#4954D4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.194 H 273.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4954D4
RGBrgb(73, 84, 212)
HSLhsl(235, 62%, 56%)
HSVhsv(235, 66%, 83%)
CMYKcmyk(65.6%, 60.4%, 0%, 16.9%)
CIE-LABlab(42.01, 35.99, -67.29)
CIE-LCHlch(42.01, 76.31, 298.14°)
OKLaboklab(51.45% 0.0123 -0.1939)
OKLCHoklch(51.45% 0.194 273.6)
XYZxyz(17.7977, 12.5090, 63.7511)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954D4 #D4C949
analogous
#4999D4 #4954D4 #8349D4
triadic
#4954D4 #D44954 #54D449
tetradic
#4954D4 #D44999 #D4C949 #49D483
square
#4954D4 #D44999 #D4C949 #49D483
split-complementary
#4954D4 #D48349 #99D449
monochromatic
#1F2784 #2B36B5 #4954D4 #7B83E0 #ACB1EB

Accessibility & contrast

On white

6.00
#4954D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4954D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954D4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954D4#FFFFFF#000000##FFFFFF
##4954D41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4954d4;
/* rgb */ color: rgb(73, 84, 212);
/* oklch */ color: oklch(51.4% 0.194 273.6);
Tailwind
colors: {
  custom: {
    50: '#8b84e2',
    500: '#4954d4',
    950: '#000000',
  },
}
SCSS
$custom: #4954d4;
$custom-light: #8b84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4954d4",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 235.252,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.1943,
    "h": 273.6
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

primary
#4954D4
secondary
#D9D5A0
accent
#D843E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4954D4

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

Preview Lab → · Contrast checker → · Palette generator →

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