#5474DA#5474DA

#5474DA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.160 H 268.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5474DA
RGBrgb(84, 116, 218)
HSLhsl(226, 64%, 59%)
HSVhsv(226, 61%, 85%)
CMYKcmyk(61.5%, 46.8%, 0%, 14.5%)
CIE-LABlab(51.19, 19.92, -55.84)
CIE-LCHlch(51.19, 59.28, 289.63°)
OKLaboklab(58.64% -0.0053 -0.1596)
OKLCHoklch(58.64% 0.16 268.1)
XYZxyz(22.5521, 19.4356, 68.8791)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474DA #DABA54
analogous
#54B7DA #5474DA #7754DA
triadic
#5474DA #DA5474 #74DA54
tetradic
#5474DA #DA54B7 #DABA54 #54DA77
square
#5474DA #DA54B7 #DABA54 #54DA77
split-complementary
#5474DA #DA7754 #B7DA54
monochromatic
#203C94 #2B50C6 #5474DA #869DE5 #B9C6F0

Accessibility & contrast

On white

4.30
#5474DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5474DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474DA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474DA#FFFFFF#000000##000000
##5474DA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DE
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5474da;
/* rgb */ color: rgb(84, 116, 218);
/* oklch */ color: oklch(58.6% 0.160 268.1);
Tailwind
colors: {
  custom: {
    50: '#909be6',
    500: '#5474da',
    950: '#000000',
  },
}
SCSS
$custom: #5474da;
$custom-light: #909be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5474da",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 225.672,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58643,
    "c": 0.15969,
    "h": 268.1
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#5474DA
secondary
#DFD3AB
accent
#C040E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5474DA

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

Preview Lab → · Contrast checker → · Palette generator →

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