#4954BE#4954BE

#4954BE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.165 H 274.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4954BE
RGBrgb(73, 84, 190)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 62%, 75%)
CMYKcmyk(61.6%, 55.8%, 0%, 25.5%)
CIE-LABlab(40.37, 28.49, -57.24)
CIE-LCHlch(40.37, 63.94, 296.46°)
OKLaboklab(49.71% 0.0123 -0.1643)
OKLCHoklch(49.71% 0.165 274.3)
XYZxyz(15.2092, 11.4736, 50.1184)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954BE #BEB349
analogous
#498FBE #4954BE #7949BE
triadic
#4954BE #BE4954 #54BE49
tetradic
#4954BE #BE498F #BEB349 #49BE79
square
#4954BE #BE498F #BEB349 #49BE79
split-complementary
#4954BE #BE7949 #8FBE49
monochromatic
#252B68 #353E95 #4954BE #767ECE #A3A9DE

Accessibility & contrast

On white

6.37
#4954BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4954BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954BE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954BE#FFFFFF#000000##FFFFFF
##4954BE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4954be;
/* rgb */ color: rgb(73, 84, 190);
/* oklch */ color: oklch(49.7% 0.165 274.3);
Tailwind
colors: {
  custom: {
    50: '#8784d2',
    500: '#4954be',
    950: '#000000',
  },
}
SCSS
$custom: #4954be;
$custom-light: #8784d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4954be",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 234.359,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49708,
    "c": 0.16481,
    "h": 274.3
  },
  "luminance": 0.11475
}

Semantic roles & 50–950 ramp

primary
#4954BE
secondary
#CBC698
accent
#CA51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4954BE

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

Preview Lab → · Contrast checker → · Palette generator →

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