#5454CF#5454CF

#5454CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.185 H 277.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5454CF
RGBrgb(84, 84, 207)
HSLhsl(240, 56%, 57%)
HSVhsv(240, 59%, 81%)
CMYKcmyk(59.4%, 59.4%, 0%, 18.8%)
CIE-LABlab(42.35, 36.07, -63.84)
CIE-LCHlch(42.35, 73.32, 299.47°)
OKLaboklab(51.77% 0.025 -0.1835)
OKLCHoklch(51.77% 0.185 277.8)
XYZxyz(18.0854, 12.7291, 60.5233)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454CF #CFCF54
analogous
#5492CF #5454CF #9254CF
triadic
#5454CF #CF5454 #54CF54
tetradic
#5454CF #CF5492 #CFCF54 #54CF92
square
#5454CF #CF5492 #CFCF54 #54CF92
split-complementary
#5454CF #CF9254 #92CF54
monochromatic
#252584 #3232B3 #5454CF #8484DC #B4B4EA

Accessibility & contrast

On white

5.92
#5454CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5454CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454CF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454CF#FFFFFF#000000##FFFFFF
##5454CF1.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)
#0069D3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5454cf;
/* rgb */ color: rgb(84, 84, 207);
/* oklch */ color: oklch(51.8% 0.185 277.8);
Tailwind
colors: {
  custom: {
    50: '#9084df',
    500: '#5454cf',
    950: '#000000',
  },
}
SCSS
$custom: #5454cf;
$custom-light: #9084df;
$custom-dark: #000000;
JSON
{
  "hex": "#5454cf",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.18516,
    "h": 277.8
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#5454CF
secondary
#D8D8A6
accent
#DF48DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5454CF

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

Preview Lab → · Contrast checker → · Palette generator →

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