#5F55E7#5F55E7

#5F55E7 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.213 H 279.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5F55E7
RGBrgb(95, 85, 231)
HSLhsl(244, 75%, 62%)
HSVhsv(244, 63%, 91%)
CMYKcmyk(58.9%, 63.2%, 0%, 9.4%)
CIE-LABlab(45.22, 44.92, -72.83)
CIE-LCHlch(45.22, 85.56, 301.67°)
OKLaboklab(54.65% 0.0361 -0.2096)
OKLCHoklch(54.65% 0.213 279.8)
XYZxyz(22.3871, 14.6978, 77.2431)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55E7 #DDE755
analogous
#5594E7 #5F55E7 #A855E7
triadic
#5F55E7 #E75F55 #55E75F
tetradic
#5F55E7 #E75594 #DDE755 #55E7A8
square
#5F55E7 #E75594 #DDE755 #55E7A8
split-complementary
#5F55E7 #E7A855 #94E755
monochromatic
#2218AA #2D20DF #5F55E7 #918BEF #C4C0F6

Accessibility & contrast

On white

5.33
#5F55E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5F55E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55E7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55E7#FFFFFF#000000##FFFFFF
##5F55E71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f55e7;
/* rgb */ color: rgb(95, 85, 231);
/* oklch */ color: oklch(54.6% 0.213 279.8);
Tailwind
colors: {
  custom: {
    50: '#9986f0',
    500: '#5f55e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f55e7;
$custom-light: #9986f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55e7",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 244.11,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.21265,
    "h": 279.8
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

primary
#5F55E7
secondary
#E3E7B1
accent
#D70ECA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F55E7

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

Preview Lab → · Contrast checker → · Palette generator →

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