#5474D2#5474D2

#5474D2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.149 H 267.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5474D2
RGBrgb(84, 116, 210)
HSLhsl(225, 58%, 58%)
HSVhsv(225, 60%, 82%)
CMYKcmyk(60%, 44.8%, 0%, 17.6%)
CIE-LABlab(50.72, 17.22, -52.06)
CIE-LCHlch(50.72, 54.84, 288.30°)
OKLaboklab(58.13% -0.0064 -0.1485)
OKLCHoklch(58.13% 0.149 267.5)
XYZxyz(21.5305, 19.0269, 63.4982)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474D2 #D2B254
analogous
#54B3D2 #5474D2 #7354D2
triadic
#5474D2 #D25474 #74D254
tetradic
#5474D2 #D254B3 #D2B254 #54D273
square
#5474D2 #D254B3 #D2B254 #54D273
split-complementary
#5474D2 #D27354 #B3D254
monochromatic
#243D88 #3153B8 #5474D2 #849BDF #B5C3EB

Accessibility & contrast

On white

4.37
#5474D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5474D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474D2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474D2#FFFFFF#000000##000000
##5474D21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#487FD6
Deuteranopia (green-blind)
#3573D0
Tritanopia (blue-blind)
#008999
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5474d2;
/* rgb */ color: rgb(84, 116, 210);
/* oklch */ color: oklch(58.1% 0.149 267.5);
Tailwind
colors: {
  custom: {
    50: '#8f9be0',
    500: '#5474d2',
    950: '#000000',
  },
}
SCSS
$custom: #5474d2;
$custom-light: #8f9be0;
$custom-dark: #000000;
JSON
{
  "hex": "#5474d2",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 224.762,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.14864,
    "h": 267.5
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#5474D2
secondary
#DACDA8
accent
#BA46E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474D2

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

Preview Lab → · Contrast checker → · Palette generator →

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