#5474CF#5474CF

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

Color values

HEX#5474CF
RGBrgb(84, 116, 207)
HSLhsl(224, 56%, 57%)
HSVhsv(224, 59%, 81%)
CMYKcmyk(59.4%, 44%, 0%, 18.8%)
CIE-LABlab(50.55, 16.21, -50.63)
CIE-LCHlch(50.55, 53.16, 287.75°)
OKLaboklab(57.94% -0.0069 -0.1443)
OKLCHoklch(57.94% 0.144 267.2)
XYZxyz(21.1602, 18.8788, 61.5483)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474CF #CFAF54
analogous
#54B2CF #5474CF #7254CF
triadic
#5474CF #CF5474 #74CF54
tetradic
#5474CF #CF54B2 #CFAF54 #54CF72
square
#5474CF #CF54B2 #CFAF54 #54CF72
split-complementary
#5474CF #CF7254 #B2CF54
monochromatic
#253E84 #3254B3 #5474CF #849BDC #B4C2EA

Accessibility & contrast

On white

4.40
#5474CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5474CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474CF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474CF#FFFFFF#000000##000000
##5474CF1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5474cf;
/* rgb */ color: rgb(84, 116, 207);
/* oklch */ color: oklch(57.9% 0.144 267.2);
Tailwind
colors: {
  custom: {
    50: '#8e9bde',
    500: '#5474cf',
    950: '#000000',
  },
}
SCSS
$custom: #5474cf;
$custom-light: #8e9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5474cf",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 224.39,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.14448,
    "h": 267.2
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5474CF

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

Preview Lab → · Contrast checker → · Palette generator →

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