#5454D4#5454D4

#5454D4 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.192 H 277.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5454D4
RGBrgb(84, 84, 212)
HSLhsl(240, 60%, 58%)
HSVhsv(240, 60%, 83%)
CMYKcmyk(60.4%, 60.4%, 0%, 16.9%)
CIE-LABlab(42.73, 37.70, -66.10)
CIE-LCHlch(42.73, 76.09, 299.70°)
OKLaboklab(52.16% 0.0248 -0.1901)
OKLCHoklch(52.16% 0.192 277.4)
XYZxyz(18.7063, 12.9775, 63.7937)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454D4 #D4D454
analogous
#5494D4 #5454D4 #9454D4
triadic
#5454D4 #D45454 #54D454
tetradic
#5454D4 #D45494 #D4D454 #54D494
square
#5454D4 #D45494 #D4D454 #54D494
split-complementary
#5454D4 #D49454 #94D454
monochromatic
#23238B #2F2FBC #5454D4 #8585E0 #B6B6ED

Accessibility & contrast

On white

5.84
#5454D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5454D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454D4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454D4#FFFFFF#000000##FFFFFF
##5454D41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5454d4;
/* rgb */ color: rgb(84, 84, 212);
/* oklch */ color: oklch(52.2% 0.192 277.4);
Tailwind
colors: {
  custom: {
    50: '#9184e2',
    500: '#5454d4',
    950: '#000000',
  },
}
SCSS
$custom: #5454d4;
$custom-light: #9184e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5454d4",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 240,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.19172,
    "h": 277.4
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#5454D4
secondary
#DBDBA8
accent
#E345E3
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #5454D4

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

Preview Lab → · Contrast checker → · Palette generator →

#5454D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva