#5454E2#5454E2

#5454E2 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.210 H 276.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5454E2
RGBrgb(84, 84, 226)
HSLhsl(240, 71%, 61%)
HSVhsv(240, 63%, 89%)
CMYKcmyk(62.8%, 62.8%, 0%, 11.4%)
CIE-LABlab(43.82, 42.24, -72.31)
CIE-LCHlch(43.82, 83.74, 300.30°)
OKLaboklab(53.3% 0.0241 -0.2083)
OKLCHoklch(53.3% 0.21 276.6)
XYZxyz(20.5495, 13.7148, 73.5011)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454E2 #E2E254
analogous
#549BE2 #5454E2 #9B54E2
triadic
#5454E2 #E25454 #54E254
tetradic
#5454E2 #E2549B #E2E254 #54E29B
square
#5454E2 #E2549B #E2E254 #54E29B
split-complementary
#5454E2 #E29B54 #9BE254
monochromatic
#1B1BA0 #2424D5 #5454E2 #8888EB #BDBDF4

Accessibility & contrast

On white

5.61
#5454E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5454E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454E2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454E2#FFFFFF#000000##FFFFFF
##5454E21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5454e2;
/* rgb */ color: rgb(84, 84, 226);
/* oklch */ color: oklch(53.3% 0.210 276.6);
Tailwind
colors: {
  custom: {
    50: '#9384ec',
    500: '#5454e2',
    950: '#000000',
  },
}
SCSS
$custom: #5454e2;
$custom-light: #9384ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5454e2",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53304,
    "c": 0.20973,
    "h": 276.6
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#5454E2
secondary
#E4E4AE
accent
#D312D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5454E2

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

Preview Lab → · Contrast checker → · Palette generator →

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