#5F55EC#5F55EC

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

Color values

HEX#5F55EC
RGBrgb(95, 85, 236)
HSLhsl(244, 80%, 63%)
HSVhsv(244, 64%, 93%)
CMYKcmyk(59.7%, 64%, 0%, 7.5%)
CIE-LABlab(45.61, 46.47, -75.00)
CIE-LCHlch(45.61, 88.23, 301.78°)
OKLaboklab(55.06% 0.0356 -0.216)
OKLCHoklch(55.06% 0.219 279.4)
XYZxyz(23.1033, 14.9843, 81.0154)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55EC #E2EC55
analogous
#5596EC #5F55EC #AB55EC
triadic
#5F55EC #EC5F55 #55EC5F
tetradic
#5F55EC #EC5596 #E2EC55 #55ECAB
square
#5F55EC #EC5596 #E2EC55 #55ECAB
split-complementary
#5F55EC #ECAB55 #96EC55
monochromatic
#1E14B3 #2B1EE6 #5F55EC #938CF2 #C7C3F8

Accessibility & contrast

On white

5.25
#5F55EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5F55EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55EC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55EC#FFFFFF#000000##FFFFFF
##5F55EC1.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)
#0072F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f55ec;
/* rgb */ color: rgb(95, 85, 236);
/* oklch */ color: oklch(55.1% 0.219 279.4);
Tailwind
colors: {
  custom: {
    50: '#9a86f3',
    500: '#5f55ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f55ec;
$custom-light: #9a86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55ec",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 243.974,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.21888,
    "h": 279.4
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#5F55EC
secondary
#E6EAB3
accent
#DC09CE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F55EC

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

Preview Lab → · Contrast checker → · Palette generator →

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