#5855F2#5855F2

#5855F2 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.1% C 0.228 H 276.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5855F2
RGBrgb(88, 85, 242)
HSLhsl(241, 86%, 64%)
HSVhsv(241, 65%, 95%)
CMYKcmyk(63.6%, 64.9%, 0%, 5.1%)
CIE-LABlab(45.61, 47.35, -78.40)
CIE-LCHlch(45.61, 91.59, 301.13°)
OKLaboklab(55.08% 0.0266 -0.2261)
OKLCHoklch(55.08% 0.228 276.7)
XYZxyz(23.2948, 14.9806, 85.6511)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855F2 #EFF255
analogous
#55A1F2 #5855F2 #A655F2
triadic
#5855F2 #F25855 #55F258
tetradic
#5855F2 #F255A1 #EFF255 #55F2A6
square
#5855F2 #F255A1 #EFF255 #55F2A6
split-complementary
#5855F2 #F2A655 #A1F255
monochromatic
#120FBE #201CEE #5855F2 #908EF6 #C8C7FB

Accessibility & contrast

On white

5.25
#5855F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5855F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855F2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855F2#FFFFFF#000000##FFFFFF
##5855F21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0065EF
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5855f2;
/* rgb */ color: rgb(88, 85, 242);
/* oklch */ color: oklch(55.1% 0.228 276.7);
Tailwind
colors: {
  custom: {
    50: '#9886f8',
    500: '#5855f2',
    950: '#000000',
  },
}
SCSS
$custom: #5855f2;
$custom-light: #9886f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5855f2",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 241.146,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.22768,
    "h": 276.7
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#5855F2
secondary
#ECEDB6
accent
#E203DE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5855F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5855F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva