#5474C7#5474C7

#5474C7 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.4% C 0.133 H 266.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5474C7
RGBrgb(84, 116, 199)
HSLhsl(223, 51%, 55%)
HSVhsv(223, 58%, 78%)
CMYKcmyk(57.8%, 41.7%, 0%, 22%)
CIE-LABlab(50.09, 13.53, -46.79)
CIE-LCHlch(50.09, 48.70, 286.13°)
OKLaboklab(57.45% -0.0084 -0.133)
OKLCHoklch(57.45% 0.133 266.4)
XYZxyz(20.2069, 18.4975, 56.5273)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474C7 #C7A754
analogous
#54AEC7 #5474C7 #6D54C7
triadic
#5474C7 #C75474 #74C754
tetradic
#5474C7 #C754AE #C7A754 #54C76D
square
#5474C7 #C754AE #C7A754 #54C76D
split-complementary
#5474C7 #C76D54 #AEC754
monochromatic
#283E79 #3756A7 #5474C7 #8299D6 #B0BFE5

Accessibility & contrast

On white

4.47
#5474C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5474C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474C7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474C7#FFFFFF#000000##000000
##5474C71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCA
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5474c7;
/* rgb */ color: rgb(84, 116, 199);
/* oklch */ color: oklch(57.4% 0.133 266.4);
Tailwind
colors: {
  custom: {
    50: '#8d9bd8',
    500: '#5474c7',
    950: '#000000',
  },
}
SCSS
$custom: #5474c7;
$custom-light: #8d9bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5474c7",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 199
  },
  "hsl": {
    "h": 223.304,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.13328,
    "h": 266.4
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#5474C7
secondary
#D3C6A3
accent
#B34EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5474C7

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

Preview Lab → · Contrast checker → · Palette generator →

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