#5A55DB#5A55DB

#5A55DB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.3% C 0.198 H 278.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5A55DB
RGBrgb(90, 85, 219)
HSLhsl(242, 65%, 60%)
HSVhsv(242, 61%, 86%)
CMYKcmyk(58.9%, 61.2%, 0%, 14.1%)
CIE-LABlab(43.92, 40.33, -68.14)
CIE-LCHlch(43.92, 79.18, 300.62°)
OKLaboklab(53.31% 0.0308 -0.196)
OKLCHoklch(53.31% 0.198 278.9)
XYZxyz(20.2471, 13.7837, 68.5977)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55DB #D6DB55
analogous
#5593DB #5A55DB #9D55DB
triadic
#5A55DB #DB5A55 #55DB5A
tetradic
#5A55DB #DB5593 #D6DB55 #55DB9D
square
#5A55DB #DB5593 #D6DB55 #55DB9D
split-complementary
#5A55DB #DB9D55 #93DB55
monochromatic
#242096 #302AC8 #5A55DB #8B88E6 #BCBAF0

Accessibility & contrast

On white

5.59
#5A55DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5A55DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55DB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55DB#FFFFFF#000000##FFFFFF
##5A55DB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a55db;
/* rgb */ color: rgb(90, 85, 219);
/* oklch */ color: oklch(53.3% 0.198 278.9);
Tailwind
colors: {
  custom: {
    50: '#9585e7',
    500: '#5a55db',
    950: '#000000',
  },
}
SCSS
$custom: #5a55db;
$custom-light: #9585e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55db",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 242.239,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.19835,
    "h": 278.9
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

primary
#5A55DB
secondary
#DEE0AC
accent
#E840E2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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