#5474CE#5474CE

#5474CE is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.143 H 267.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5474CE
RGBrgb(84, 116, 206)
HSLhsl(224, 55%, 57%)
HSVhsv(224, 59%, 81%)
CMYKcmyk(59.2%, 43.7%, 0%, 19.2%)
CIE-LABlab(50.49, 15.87, -50.16)
CIE-LCHlch(50.49, 52.61, 287.56°)
OKLaboklab(57.88% -0.0071 -0.1429)
OKLCHoklch(57.88% 0.143 267.2)
XYZxyz(21.0384, 18.8301, 60.9065)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474CE #CEAE54
analogous
#54B1CE #5474CE #7154CE
triadic
#5474CE #CE5474 #74CE54
tetradic
#5474CE #CE54B1 #CEAE54 #54CE71
square
#5474CE #CE54B1 #CEAE54 #54CE71
split-complementary
#5474CE #CE7154 #B1CE54
monochromatic
#253E82 #3354B2 #5474CE #849BDC #B3C1E9

Accessibility & contrast

On white

4.41
#5474CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5474CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474CE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474CE#FFFFFF#000000##000000
##5474CE1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5474ce;
/* rgb */ color: rgb(84, 116, 206);
/* oklch */ color: oklch(57.9% 0.143 267.2);
Tailwind
colors: {
  custom: {
    50: '#8e9bdd',
    500: '#5474ce',
    950: '#000000',
  },
}
SCSS
$custom: #5474ce;
$custom-light: #8e9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5474ce",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 224.262,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57876,
    "c": 0.14308,
    "h": 267.2
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#5474CE
secondary
#D8CBA6
accent
#B749DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474CE

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

Preview Lab → · Contrast checker → · Palette generator →

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