#5474CA#5474CA

#5474CA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.137 H 266.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5474CA
RGBrgb(84, 116, 202)
HSLhsl(224, 53%, 56%)
HSVhsv(224, 58%, 79%)
CMYKcmyk(58.4%, 42.6%, 0%, 20.8%)
CIE-LABlab(50.26, 14.53, -48.24)
CIE-LCHlch(50.26, 50.38, 286.76°)
OKLaboklab(57.63% -0.0078 -0.1373)
OKLCHoklch(57.63% 0.137 266.7)
XYZxyz(20.5586, 18.6382, 58.3798)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474CA #CAAA54
analogous
#54AFCA #5474CA #6F54CA
triadic
#5474CA #CA5474 #74CA54
tetradic
#5474CA #CA54AF #CAAA54 #54CA6F
square
#5474CA #CA54AF #CAAA54 #54CA6F
split-complementary
#5474CA #CA6F54 #AFCA54
monochromatic
#273E7D #3555AC #5474CA #839AD8 #B1C0E7

Accessibility & contrast

On white

4.44
#5474CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5474CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474CA#FFFFFF#000000##000000
##5474CA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5474ca;
/* rgb */ color: rgb(84, 116, 202);
/* oklch */ color: oklch(57.6% 0.137 266.7);
Tailwind
colors: {
  custom: {
    50: '#8d9bda',
    500: '#5474ca',
    950: '#000000',
  },
}
SCSS
$custom: #5474ca;
$custom-light: #8d9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5474ca",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 223.729,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.13749,
    "h": 266.7
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#5474CA
secondary
#D5C8A5
accent
#B54CDC
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474CA

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

Preview Lab → · Contrast checker → · Palette generator →

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