#4954DB#4954DB

#4954DB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.0% C 0.203 H 273.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4954DB
RGBrgb(73, 84, 219)
HSLhsl(235, 67%, 57%)
HSVhsv(235, 67%, 86%)
CMYKcmyk(66.7%, 61.6%, 0%, 14.1%)
CIE-LABlab(42.57, 38.36, -70.40)
CIE-LCHlch(42.57, 80.17, 298.59°)
OKLaboklab(52.03% 0.0121 -0.203)
OKLCHoklch(52.03% 0.203 273.4)
XYZxyz(18.6999, 12.8699, 68.5028)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954DB #DBD049
analogous
#499DDB #4954DB #8749DB
triadic
#4954DB #DB4954 #54DB49
tetradic
#4954DB #DB499D #DBD049 #49DB87
square
#4954DB #DB499D #DBD049 #49DB87
split-complementary
#4954DB #DB8749 #9DDB49
monochromatic
#1C258E #2632C1 #4954DB #7C84E5 #AFB4EF

Accessibility & contrast

On white

5.88
#4954DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4954DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954DB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954DB#FFFFFF#000000##FFFFFF
##4954DB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4954db;
/* rgb */ color: rgb(73, 84, 219);
/* oklch */ color: oklch(52.0% 0.203 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d84e7',
    500: '#4954db',
    950: '#000000',
  },
}
SCSS
$custom: #4954db;
$custom-light: #8d84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4954db",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 235.479,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.20339,
    "h": 273.4
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#4954DB
secondary
#DDD9A2
accent
#DD3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4954DB

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

Preview Lab → · Contrast checker → · Palette generator →

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