#5474DB#5474DB

#5474DB is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.7% C 0.161 H 268.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5474DB
RGBrgb(84, 116, 219)
HSLhsl(226, 65%, 59%)
HSVhsv(226, 62%, 86%)
CMYKcmyk(61.6%, 47%, 0%, 14.1%)
CIE-LABlab(51.25, 20.26, -56.31)
CIE-LCHlch(51.25, 59.84, 289.79°)
OKLaboklab(58.71% -0.0051 -0.161)
OKLCHoklch(58.71% 0.161 268.2)
XYZxyz(22.6834, 19.4881, 69.5703)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474DB #DBBB54
analogous
#54B7DB #5474DB #7854DB
triadic
#5474DB #DB5474 #74DB54
tetradic
#5474DB #DB54B7 #DBBB54 #54DB78
square
#5474DB #DB54B7 #DBBB54 #54DB78
split-complementary
#5474DB #DB7854 #B7DB54
monochromatic
#1F3B95 #2A4FC8 #5474DB #879DE6 #B9C6F0

Accessibility & contrast

On white

4.29
#5474DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5474DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474DB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474DB#FFFFFF#000000##000000
##5474DB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5474db;
/* rgb */ color: rgb(84, 116, 219);
/* oklch */ color: oklch(58.7% 0.161 268.2);
Tailwind
colors: {
  custom: {
    50: '#909be7',
    500: '#5474db',
    950: '#000000',
  },
}
SCSS
$custom: #5474db;
$custom-light: #909be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5474db",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 225.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.16105,
    "h": 268.2
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

primary
#5474DB
secondary
#E0D3AB
accent
#C040E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5474DB

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

Preview Lab → · Contrast checker → · Palette generator →

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