#5454D9#5454D9

#5454D9 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.6% C 0.198 H 277.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5454D9
RGBrgb(84, 84, 217)
HSLhsl(240, 64%, 59%)
HSVhsv(240, 61%, 85%)
CMYKcmyk(61.3%, 61.3%, 0%, 14.9%)
CIE-LABlab(43.11, 39.32, -68.33)
CIE-LCHlch(43.11, 78.84, 299.92°)
OKLaboklab(52.57% 0.0246 -0.1967)
OKLCHoklch(52.57% 0.198 277.1)
XYZxyz(19.3468, 13.2337, 67.1670)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454D9 #D9D954
analogous
#5497D9 #5454D9 #9754D9
triadic
#5454D9 #D95454 #54D954
tetradic
#5454D9 #D95497 #D9D954 #54D997
square
#5454D9 #D95497 #D9D954 #54D997
split-complementary
#5454D9 #D99754 #97D954
monochromatic
#202092 #2C2CC4 #5454D9 #8686E4 #B8B8EF

Accessibility & contrast

On white

5.76
#5454D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5454D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454D9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454D9#FFFFFF#000000##FFFFFF
##5454D91.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5454d9;
/* rgb */ color: rgb(84, 84, 217);
/* oklch */ color: oklch(52.6% 0.198 277.1);
Tailwind
colors: {
  custom: {
    50: '#9184e6',
    500: '#5454d9',
    950: '#000000',
  },
}
SCSS
$custom: #5454d9;
$custom-light: #9184e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5454d9",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.19821,
    "h": 277.1
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#5454D9
secondary
#DFDFAA
accent
#E741E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5454D9

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

Preview Lab → · Contrast checker → · Palette generator →

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