#5454CB#5454CB

#5454CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.180 H 278.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5454CB
RGBrgb(84, 84, 203)
HSLhsl(240, 53%, 56%)
HSVhsv(240, 59%, 80%)
CMYKcmyk(58.6%, 58.6%, 0%, 20.4%)
CIE-LABlab(42.06, 34.76, -62.01)
CIE-LCHlch(42.06, 71.09, 299.27°)
OKLaboklab(51.45% 0.0251 -0.1781)
OKLCHoklch(51.45% 0.18 278)
XYZxyz(17.6025, 12.5360, 57.9804)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454CB #CBCB54
analogous
#5490CB #5454CB #9054CB
triadic
#5454CB #CB5454 #54CB54
tetradic
#5454CB #CB5490 #CBCB54 #54CB90
square
#5454CB #CB5490 #CBCB54 #54CB90
split-complementary
#5454CB #CB9054 #90CB54
monochromatic
#26267E #3535AD #5454CB #8383D9 #B2B2E8

Accessibility & contrast

On white

5.99
#5454CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5454CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454CB#FFFFFF#000000##FFFFFF
##5454CB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5454cb;
/* rgb */ color: rgb(84, 84, 203);
/* oklch */ color: oklch(51.5% 0.180 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f84dc',
    500: '#5454cb',
    950: '#000000',
  },
}
SCSS
$custom: #5454cb;
$custom-light: #8f84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5454cb",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.17986,
    "h": 278
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#5454CB
secondary
#D6D6A5
accent
#DD4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5454CB

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

Preview Lab → · Contrast checker → · Palette generator →

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