#4954BB#4954BB

#4954BB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.161 H 274.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4954BB
RGBrgb(73, 84, 187)
HSLhsl(234, 46%, 51%)
HSVhsv(234, 61%, 73%)
CMYKcmyk(61%, 55.1%, 0%, 26.7%)
CIE-LABlab(40.15, 27.47, -55.83)
CIE-LCHlch(40.15, 62.22, 296.20°)
OKLaboklab(49.48% 0.0122 -0.1602)
OKLCHoklch(49.48% 0.161 274.3)
XYZxyz(14.8847, 11.3438, 48.4093)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954BB #BBB049
analogous
#498DBB #4954BB #7749BB
triadic
#4954BB #BB4954 #54BB49
tetradic
#4954BB #BB498D #BBB049 #49BB77
square
#4954BB #BB498D #BBB049 #49BB77
split-complementary
#4954BB #BB7749 #8DBB49
monochromatic
#252B64 #363F91 #4954BB #767ECC #A2A8DC

Accessibility & contrast

On white

6.42
#4954BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4954BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954BB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954BB#FFFFFF#000000##FFFFFF
##4954BB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4954bb;
/* rgb */ color: rgb(73, 84, 187);
/* oklch */ color: oklch(49.5% 0.161 274.3);
Tailwind
colors: {
  custom: {
    50: '#8784d0',
    500: '#4954bb',
    950: '#000000',
  },
}
SCSS
$custom: #4954bb;
$custom-light: #8784d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4954bb",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 234.211,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.16067,
    "h": 274.3
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#4954BB
secondary
#C9C497
accent
#C953D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4954BB

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

Preview Lab → · Contrast checker → · Palette generator →

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