#4954D6#4954D6

#4954D6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.197 H 273.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4954D6
RGBrgb(73, 84, 214)
HSLhsl(235, 63%, 56%)
HSVhsv(235, 66%, 84%)
CMYKcmyk(65.9%, 60.7%, 0%, 16.1%)
CIE-LABlab(42.17, 36.67, -68.18)
CIE-LCHlch(42.17, 77.42, 298.27°)
OKLaboklab(51.61% 0.0123 -0.1965)
OKLCHoklch(51.61% 0.197 273.6)
XYZxyz(18.0515, 12.6105, 65.0881)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954D6 #D6CB49
analogous
#499BD6 #4954D6 #8549D6
triadic
#4954D6 #D64954 #54D649
tetradic
#4954D6 #D6499B #D6CB49 #49D685
square
#4954D6 #D6499B #D6CB49 #49D685
split-complementary
#4954D6 #D68549 #9BD649
monochromatic
#1E2686 #2A35B8 #4954D6 #7B83E1 #ADB2ED

Accessibility & contrast

On white

5.96
#4954D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4954D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954D6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954D6#FFFFFF#000000##FFFFFF
##4954D61.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4954d6;
/* rgb */ color: rgb(73, 84, 214);
/* oklch */ color: oklch(51.6% 0.197 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c84e4',
    500: '#4954d6',
    950: '#000000',
  },
}
SCSS
$custom: #4954d6;
$custom-light: #8c84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4954d6",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 235.319,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51613,
    "c": 0.19691,
    "h": 273.6
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

primary
#4954D6
secondary
#DAD6A0
accent
#D942E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4954D6

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

Preview Lab → · Contrast checker → · Palette generator →

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