#5474DF#5474DF

#5474DF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.167 H 268.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5474DF
RGBrgb(84, 116, 223)
HSLhsl(226, 68%, 60%)
HSVhsv(226, 62%, 87%)
CMYKcmyk(62.3%, 48%, 0%, 12.5%)
CIE-LABlab(51.50, 21.61, -58.17)
CIE-LCHlch(51.50, 62.06, 290.38°)
OKLaboklab(58.97% -0.0046 -0.1665)
OKLCHoklch(58.97% 0.167 268.4)
XYZxyz(23.2163, 19.7013, 72.3770)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474DF #DFBF54
analogous
#54BADF #5474DF #7954DF
triadic
#5474DF #DF5474 #74DF54
tetradic
#5474DF #DF54BA #DFBF54 #54DF79
square
#5474DF #DF54BA #DFBF54 #54DF79
split-complementary
#5474DF #DF7954 #BADF54
monochromatic
#1D3A9C #274DCF #5474DF #889EE9 #BBC8F2

Accessibility & contrast

On white

4.25
#5474DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5474DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474DF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474DF#FFFFFF#000000##000000
##5474DF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E3
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5474df;
/* rgb */ color: rgb(84, 116, 223);
/* oklch */ color: oklch(59.0% 0.167 268.4);
Tailwind
colors: {
  custom: {
    50: '#919bea',
    500: '#5474df',
    950: '#000000',
  },
}
SCSS
$custom: #5474df;
$custom-light: #919bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5474df",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 226.187,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.16652,
    "h": 268.4
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#5474DF
secondary
#E2D6AD
accent
#A515D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5474DF

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

Preview Lab → · Contrast checker → · Palette generator →

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