#5474EE#5474EE

#5474EE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.187 H 269.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5474EE
RGBrgb(84, 116, 238)
HSLhsl(228, 82%, 63%)
HSVhsv(228, 65%, 93%)
CMYKcmyk(64.7%, 51.3%, 0%, 6.7%)
CIE-LABlab(52.45, 26.72, -65.05)
CIE-LCHlch(52.45, 70.32, 292.33°)
OKLaboklab(60% -0.0031 -0.1867)
OKLCHoklch(60% 0.187 269.1)
XYZxyz(25.3289, 20.5463, 83.5034)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474EE #EECE54
analogous
#54C1EE #5474EE #8154EE
triadic
#5474EE #EE5474 #74EE54
tetradic
#5474EE #EE54C1 #EECE54 #54EE81
square
#5474EE #EE54C1 #EECE54 #54EE81
split-complementary
#5474EE #EE8154 #C1EE54
monochromatic
#1234B6 #1C47E8 #5474EE #8CA1F4 #C3CEF9

Accessibility & contrast

On white

4.11
#5474EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5474EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474EE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474EE#FFFFFF#000000##000000
##5474EE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F2
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5474ee;
/* rgb */ color: rgb(84, 116, 238);
/* oklch */ color: oklch(60.0% 0.187 269.1);
Tailwind
colors: {
  custom: {
    50: '#939bf4',
    500: '#5474ee',
    950: '#000000',
  },
}
SCSS
$custom: #5474ee;
$custom-light: #939bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5474ee",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 227.532,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6,
    "c": 0.18673,
    "h": 269.1
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#5474EE
secondary
#EADFB3
accent
#B207DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5474EE

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

Preview Lab → · Contrast checker → · Palette generator →

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