#5455CC#5455CC

#5455CC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.180 H 277.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5455CC
RGBrgb(84, 85, 204)
HSLhsl(240, 54%, 56%)
HSVhsv(240, 59%, 80%)
CMYKcmyk(58.8%, 58.3%, 0%, 20%)
CIE-LABlab(42.37, 34.47, -62.08)
CIE-LCHlch(42.37, 71.01, 299.04°)
OKLaboklab(51.71% 0.0241 -0.1783)
OKLCHoklch(51.71% 0.18 277.7)
XYZxyz(17.8002, 12.7402, 58.6361)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5455CC #CCCB54
analogous
#5491CC #5455CC #8F54CC
triadic
#5455CC #CC5455 #55CC54
tetradic
#5455CC #CC5491 #CCCB54 #54CC8F
square
#5455CC #CC5491 #CCCB54 #54CC8F
split-complementary
#5455CC #CC8F54 #91CC54
monochromatic
#262780 #3435AF #5455CC #8384DA #B2B3E8

Accessibility & contrast

On white

5.92
#5455CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5455CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5455CC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5455CC#FFFFFF#000000##FFFFFF
##5455CC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5455cc;
/* rgb */ color: rgb(84, 85, 204);
/* oklch */ color: oklch(51.7% 0.180 277.7);
Tailwind
colors: {
  custom: {
    50: '#8f85dc',
    500: '#5455cc',
    950: '#000000',
  },
}
SCSS
$custom: #5455cc;
$custom-light: #8f85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5455cc",
  "rgb": {
    "r": 84,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 239.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.17991,
    "h": 277.7
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#5455CC
secondary
#D7D6A5
accent
#DC4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5455CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5455CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva