#4954BD#4954BD

#4954BD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.163 H 274.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4954BD
RGBrgb(73, 84, 189)
HSLhsl(234, 47%, 51%)
HSVhsv(234, 61%, 74%)
CMYKcmyk(61.4%, 55.6%, 0%, 25.9%)
CIE-LABlab(40.30, 28.15, -56.77)
CIE-LCHlch(40.30, 63.37, 296.37°)
OKLaboklab(49.63% 0.0122 -0.163)
OKLCHoklch(49.63% 0.163 274.3)
XYZxyz(15.1003, 11.4300, 49.5447)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954BD #BDB249
analogous
#498EBD #4954BD #7849BD
triadic
#4954BD #BD4954 #54BD49
tetradic
#4954BD #BD498E #BDB249 #49BD78
square
#4954BD #BD498E #BDB249 #49BD78
split-complementary
#4954BD #BD7849 #8EBD49
monochromatic
#252B66 #353E93 #4954BD #767ECD #A3A8DE

Accessibility & contrast

On white

6.39
#4954BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4954BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954BD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954BD#FFFFFF#000000##FFFFFF
##4954BD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4954bd;
/* rgb */ color: rgb(73, 84, 189);
/* oklch */ color: oklch(49.6% 0.163 274.3);
Tailwind
colors: {
  custom: {
    50: '#8784d2',
    500: '#4954bd',
    950: '#000000',
  },
}
SCSS
$custom: #4954bd;
$custom-light: #8784d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4954bd",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 234.31,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.16343,
    "h": 274.3
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#4954BD
secondary
#CAC697
accent
#CA51D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4954BD

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

Preview Lab → · Contrast checker → · Palette generator →

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