#5474BE#5474BE

#5474BE is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.9% C 0.121 H 265.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5474BE
RGBrgb(84, 116, 190)
HSLhsl(222, 45%, 54%)
HSVhsv(222, 56%, 75%)
CMYKcmyk(55.8%, 38.9%, 0%, 25.5%)
CIE-LABlab(49.61, 10.55, -42.39)
CIE-LCHlch(49.61, 43.69, 283.97°)
OKLaboklab(56.91% -0.0102 -0.1202)
OKLCHoklch(56.91% 0.121 265.1)
XYZxyz(19.1927, 18.0918, 51.1859)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474BE #BE9E54
analogous
#54A9BE #5474BE #6954BE
triadic
#5474BE #BE5474 #74BE54
tetradic
#5474BE #BE54A9 #BE9E54 #54BE69
square
#5474BE #BE54A9 #BE9E54 #54BE69
split-complementary
#5474BE #BE6954 #A9BE54
monochromatic
#2A3E6E #3B579A #5474BE #8098CF #ADBCE0

Accessibility & contrast

On white

4.55
#5474BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5474BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474BE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474BE#FFFFFF#000000##000000
##5474BE1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC1
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#128490
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5474be;
/* rgb */ color: rgb(84, 116, 190);
/* oklch */ color: oklch(56.9% 0.121 265.1);
Tailwind
colors: {
  custom: {
    50: '#8c9bd2',
    500: '#5474be',
    950: '#000000',
  },
}
SCSS
$custom: #5474be;
$custom-light: #8c9bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5474be",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 190
  },
  "hsl": {
    "h": 221.887,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.12059,
    "h": 265.1
  },
  "luminance": 0.18093
}

Semantic roles & 50–950 ramp

primary
#5474BE
secondary
#CEC0A0
accent
#AE53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82

Preview Lab

Preview with #5474BE

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

Preview Lab → · Contrast checker → · Palette generator →

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