#4954BA#4954BA

#4954BA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.159 H 274.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4954BA
RGBrgb(73, 84, 186)
HSLhsl(234, 45%, 51%)
HSVhsv(234, 61%, 73%)
CMYKcmyk(60.8%, 54.8%, 0%, 27.1%)
CIE-LABlab(40.08, 27.12, -55.36)
CIE-LCHlch(40.08, 61.65, 296.10°)
OKLaboklab(49.41% 0.0121 -0.1588)
OKLCHoklch(49.41% 0.159 274.4)
XYZxyz(14.7780, 11.3011, 47.8474)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954BA #BAAF49
analogous
#498CBA #4954BA #7649BA
triadic
#4954BA #BA4954 #54BA49
tetradic
#4954BA #BA498C #BAAF49 #49BA76
square
#4954BA #BA498C #BAAF49 #49BA76
split-complementary
#4954BA #BA7649 #8CBA49
monochromatic
#262C63 #363F8F #4954BA #757ECB #A2A7DC

Accessibility & contrast

On white

6.44
#4954BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4954BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954BA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954BA#FFFFFF#000000##FFFFFF
##4954BA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0963BE
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4954ba;
/* rgb */ color: rgb(73, 84, 186);
/* oklch */ color: oklch(49.4% 0.159 274.4);
Tailwind
colors: {
  custom: {
    50: '#8684cf',
    500: '#4954ba',
    950: '#000000',
  },
}
SCSS
$custom: #4954ba;
$custom-light: #8684cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4954ba",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 234.159,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.15928,
    "h": 274.4
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#4954BA
secondary
#C8C496
accent
#C853D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4954BA

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

Preview Lab → · Contrast checker → · Palette generator →

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