#5454DF#5454DF

#5454DF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.1% C 0.206 H 276.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5454DF
RGBrgb(84, 84, 223)
HSLhsl(240, 68%, 60%)
HSVhsv(240, 62%, 87%)
CMYKcmyk(62.3%, 62.3%, 0%, 12.5%)
CIE-LABlab(43.58, 41.27, -70.99)
CIE-LCHlch(43.58, 82.11, 300.17°)
OKLaboklab(53.06% 0.0243 -0.2045)
OKLCHoklch(53.06% 0.206 276.8)
XYZxyz(20.1414, 13.5516, 71.3520)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454DF #DFDF54
analogous
#5499DF #5454DF #9954DF
triadic
#5454DF #DF5454 #54DF54
tetradic
#5454DF #DF5499 #DFDF54 #54DF99
square
#5454DF #DF5499 #DFDF54 #54DF99
split-complementary
#5454DF #DF9954 #99DF54
monochromatic
#1D1D9C #2727CF #5454DF #8888E9 #BBBBF2

Accessibility & contrast

On white

5.66
#5454DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5454DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454DF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454DF#FFFFFF#000000##FFFFFF
##5454DF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5454df;
/* rgb */ color: rgb(84, 84, 223);
/* oklch */ color: oklch(53.1% 0.206 276.8);
Tailwind
colors: {
  custom: {
    50: '#9284ea',
    500: '#5454df',
    950: '#000000',
  },
}
SCSS
$custom: #5454df;
$custom-light: #9284ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5454df",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.20592,
    "h": 276.8
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#5454DF
secondary
#E2E2AD
accent
#D015D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5454DF

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

Preview Lab → · Contrast checker → · Palette generator →

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