#5A55DF#5A55DF

#5A55DF is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.6% C 0.203 H 278.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5A55DF
RGBrgb(90, 85, 223)
HSLhsl(242, 68%, 60%)
HSVhsv(242, 62%, 87%)
CMYKcmyk(59.6%, 61.9%, 0%, 12.5%)
CIE-LABlab(44.23, 41.61, -69.92)
CIE-LCHlch(44.23, 81.36, 300.76°)
OKLaboklab(53.64% 0.0306 -0.2012)
OKLCHoklch(53.64% 0.203 278.6)
XYZxyz(20.7800, 13.9968, 71.4044)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55DF #DADF55
analogous
#5595DF #5A55DF #9F55DF
triadic
#5A55DF #DF5A55 #55DF5A
tetradic
#5A55DF #DF5595 #DADF55 #55DF9F
square
#5A55DF #DF5595 #DADF55 #55DF9F
split-complementary
#5A55DF #DF9F55 #95DF55
monochromatic
#221D9C #2D27D0 #5A55DF #8C89E9 #BEBCF2

Accessibility & contrast

On white

5.53
#5A55DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5A55DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55DF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55DF#FFFFFF#000000##FFFFFF
##5A55DF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a55df;
/* rgb */ color: rgb(90, 85, 223);
/* oklch */ color: oklch(53.6% 0.203 278.6);
Tailwind
colors: {
  custom: {
    50: '#9585ea',
    500: '#5a55df',
    950: '#000000',
  },
}
SCSS
$custom: #5a55df;
$custom-light: #9585ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55df",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 242.174,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.20348,
    "h": 278.6
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#5A55DF
secondary
#E0E2AE
accent
#D015C9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5A55DF

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

Preview Lab → · Contrast checker → · Palette generator →

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