#5F55ED#5F55ED

#5F55ED is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.1% C 0.220 H 279.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5F55ED
RGBrgb(95, 85, 237)
HSLhsl(244, 81%, 63%)
HSVhsv(244, 64%, 93%)
CMYKcmyk(59.9%, 64.1%, 0%, 7.1%)
CIE-LABlab(45.69, 46.78, -75.44)
CIE-LCHlch(45.69, 88.76, 301.81°)
OKLaboklab(55.14% 0.0355 -0.2172)
OKLCHoklch(55.14% 0.22 279.3)
XYZxyz(23.2490, 15.0426, 81.7827)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55ED #E3ED55
analogous
#5597ED #5F55ED #AB55ED
triadic
#5F55ED #ED5F55 #55ED5F
tetradic
#5F55ED #ED5597 #E3ED55 #55EDAB
square
#5F55ED #ED5597 #E3ED55 #55EDAB
split-complementary
#5F55ED #EDAB55 #97ED55
monochromatic
#1E13B4 #2B1EE7 #5F55ED #938CF3 #C7C4F9

Accessibility & contrast

On white

5.24
#5F55ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5F55ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55ED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55ED#FFFFFF#000000##FFFFFF
##5F55ED1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0066EA
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f55ed;
/* rgb */ color: rgb(95, 85, 237);
/* oklch */ color: oklch(55.1% 0.220 279.3);
Tailwind
colors: {
  custom: {
    50: '#9a86f4',
    500: '#5f55ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f55ed;
$custom-light: #9a86f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55ed",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 243.947,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.22011,
    "h": 279.3
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#5F55ED
secondary
#E7EAB4
accent
#DD08CF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F55ED

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

Preview Lab → · Contrast checker → · Palette generator →

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