#4954D9#4954D9

#4954D9 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.9% C 0.201 H 273.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4954D9
RGBrgb(73, 84, 217)
HSLhsl(235, 65%, 57%)
HSVhsv(235, 66%, 85%)
CMYKcmyk(66.4%, 61.3%, 0%, 14.9%)
CIE-LABlab(42.41, 37.69, -69.51)
CIE-LCHlch(42.41, 79.07, 298.46°)
OKLaboklab(51.86% 0.0121 -0.2004)
OKLCHoklch(51.86% 0.201 273.5)
XYZxyz(18.4382, 12.7652, 67.1244)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954D9 #D9CE49
analogous
#499CD9 #4954D9 #8649D9
triadic
#4954D9 #D94954 #54D949
tetradic
#4954D9 #D9499C #D9CE49 #49D986
square
#4954D9 #D9499C #D9CE49 #49D986
split-complementary
#4954D9 #D98649 #9CD949
monochromatic
#1D258B #2833BD #4954D9 #7C84E4 #AEB3EE

Accessibility & contrast

On white

5.91
#4954D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4954D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954D9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954D9#FFFFFF#000000##FFFFFF
##4954D91.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4954d9;
/* rgb */ color: rgb(73, 84, 217);
/* oklch */ color: oklch(51.9% 0.201 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c84e6',
    500: '#4954d9',
    950: '#000000',
  },
}
SCSS
$custom: #4954d9;
$custom-light: #8c84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4954d9",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 235.417,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.2008,
    "h": 273.5
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#4954D9
secondary
#DCD8A2
accent
#DC3FE8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4954D9

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

Preview Lab → · Contrast checker → · Palette generator →

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