#5A55EF#5A55EF

#5A55EF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.0% C 0.224 H 277.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5A55EF
RGBrgb(90, 85, 239)
HSLhsl(242, 83%, 64%)
HSVhsv(242, 64%, 94%)
CMYKcmyk(62.3%, 64.4%, 0%, 6.3%)
CIE-LABlab(45.50, 46.68, -76.89)
CIE-LCHlch(45.50, 89.95, 301.26°)
OKLaboklab(54.96% 0.0293 -0.2216)
OKLCHoklch(54.96% 0.224 277.5)
XYZxyz(23.0399, 14.9008, 83.3066)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55EF #EAEF55
analogous
#559DEF #5A55EF #A755EF
triadic
#5A55EF #EF5A55 #55EF5A
tetradic
#5A55EF #EF559D #EAEF55 #55EFA7
square
#5A55EF #EF559D #EAEF55 #55EFA7
split-complementary
#5A55EF #EFA755 #9DEF55
monochromatic
#1711B8 #241DEA #5A55EF #908DF4 #C7C5FA

Accessibility & contrast

On white

5.28
#5A55EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5A55EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55EF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55EF#FFFFFF#000000##FFFFFF
##5A55EF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a55ef;
/* rgb */ color: rgb(90, 85, 239);
/* oklch */ color: oklch(55.0% 0.224 277.5);
Tailwind
colors: {
  custom: {
    50: '#9886f5',
    500: '#5a55ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a55ef;
$custom-light: #9886f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55ef",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 241.948,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.22357,
    "h": 277.5
  },
  "luminance": 0.14903
}

Semantic roles & 50–950 ramp

primary
#5A55EF
secondary
#E9EBB5
accent
#DF06D8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A55EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5A55EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva