#5474CB#5474CB

#5474CB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.7% C 0.139 H 266.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5474CB
RGBrgb(84, 116, 203)
HSLhsl(224, 53%, 56%)
HSVhsv(224, 59%, 80%)
CMYKcmyk(58.6%, 42.9%, 0%, 20.4%)
CIE-LABlab(50.32, 14.86, -48.72)
CIE-LCHlch(50.32, 50.93, 286.97°)
OKLaboklab(57.69% -0.0076 -0.1387)
OKLCHoklch(57.69% 0.139 266.8)
XYZxyz(20.6774, 18.6857, 59.0054)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474CB #CBAB54
analogous
#54AFCB #5474CB #7054CB
triadic
#5474CB #CB5474 #74CB54
tetradic
#5474CB #CB54AF #CBAB54 #54CB70
square
#5474CB #CB54AF #CBAB54 #54CB70
split-complementary
#5474CB #CB7054 #AFCB54
monochromatic
#263E7E #3555AD #5474CB #839AD9 #B2C0E8

Accessibility & contrast

On white

4.43
#5474CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5474CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474CB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474CB#FFFFFF#000000##000000
##5474CB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5474cb;
/* rgb */ color: rgb(84, 116, 203);
/* oklch */ color: oklch(57.7% 0.139 266.8);
Tailwind
colors: {
  custom: {
    50: '#8d9bdb',
    500: '#5474cb',
    950: '#000000',
  },
}
SCSS
$custom: #5474cb;
$custom-light: #8d9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5474cb",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 223.866,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.13889,
    "h": 266.8
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#5474CB
secondary
#D6C9A5
accent
#B64BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474CB

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

Preview Lab → · Contrast checker → · Palette generator →

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