#5450EC#5450EC

#5450EC is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.227 H 276.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5450EC
RGBrgb(84, 80, 236)
HSLhsl(242, 80%, 62%)
HSVhsv(242, 66%, 93%)
CMYKcmyk(64.4%, 66.1%, 0%, 7.5%)
CIE-LABlab(43.77, 47.80, -78.06)
CIE-LCHlch(43.77, 91.53, 301.48°)
OKLaboklab(53.52% 0.0262 -0.2252)
OKLCHoklch(53.52% 0.227 276.6)
XYZxyz(21.6602, 13.6764, 80.8390)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5450EC #E8EC50
analogous
#509AEC #5450EC #A250EC
triadic
#5450EC #EC5450 #50EC54
tetradic
#5450EC #EC509A #E8EC50 #50ECA2
square
#5450EC #EC509A #E8EC50 #50ECA2
split-complementary
#5450EC #ECA250 #9AEC50
monochromatic
#1713AF #1E19E6 #5450EC #8A87F2 #C0BEF8

Accessibility & contrast

On white

5.62
#5450EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5450EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5450EC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5450EC#FFFFFF#000000##FFFFFF
##5450EC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0061E9
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5450ec;
/* rgb */ color: rgb(84, 80, 236);
/* oklch */ color: oklch(53.5% 0.227 276.6);
Tailwind
colors: {
  custom: {
    50: '#9582f3',
    500: '#5450ec',
    950: '#000000',
  },
}
SCSS
$custom: #5450ec;
$custom-light: #9582f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5450ec",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 241.538,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.22674,
    "h": 276.6
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#5450EC
secondary
#E7E9AF
accent
#DD09D7
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5450EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5450EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva