#5F55E5#5F55E5

#5F55E5 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.210 H 279.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5F55E5
RGBrgb(95, 85, 229)
HSLhsl(244, 73%, 62%)
HSVhsv(244, 63%, 90%)
CMYKcmyk(58.5%, 62.9%, 0%, 10.2%)
CIE-LABlab(45.06, 44.29, -71.95)
CIE-LCHlch(45.06, 84.49, 301.62°)
OKLaboklab(54.48% 0.0362 -0.207)
OKLCHoklch(54.48% 0.21 279.9)
XYZxyz(22.1062, 14.5855, 75.7639)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55E5 #DBE555
analogous
#5593E5 #5F55E5 #A755E5
triadic
#5F55E5 #E55F55 #55E55F
tetradic
#5F55E5 #E55593 #DBE555 #55E5A7
square
#5F55E5 #E55593 #DBE555 #55E5A7
split-complementary
#5F55E5 #E5A755 #93E555
monochromatic
#2319A6 #2E22DB #5F55E5 #918AED #C3BFF5

Accessibility & contrast

On white

5.36
#5F55E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5F55E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55E5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55E5#FFFFFF#000000##FFFFFF
##5F55E51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f55e5;
/* rgb */ color: rgb(95, 85, 229);
/* oklch */ color: oklch(54.5% 0.210 279.9);
Tailwind
colors: {
  custom: {
    50: '#9986ee',
    500: '#5f55e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f55e5;
$custom-light: #9986ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55e5",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 244.167,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54483,
    "c": 0.21014,
    "h": 279.9
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#5F55E5
secondary
#E2E6B0
accent
#D610C8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F55E5

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

Preview Lab → · Contrast checker → · Palette generator →

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