#5F55E4#5F55E4

#5F55E4 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.209 H 280.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5F55E4
RGBrgb(95, 85, 228)
HSLhsl(244, 73%, 61%)
HSVhsv(244, 63%, 89%)
CMYKcmyk(58.3%, 62.7%, 0%, 10.6%)
CIE-LABlab(44.98, 43.98, -71.51)
CIE-LCHlch(44.98, 83.95, 301.59°)
OKLaboklab(54.4% 0.0363 -0.2057)
OKLCHoklch(54.4% 0.209 280)
XYZxyz(21.9670, 14.5298, 75.0307)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55E4 #DAE455
analogous
#5593E4 #5F55E4 #A755E4
triadic
#5F55E4 #E45F55 #55E45F
tetradic
#5F55E4 #E45593 #DAE455 #55E4A7
square
#5F55E4 #E45593 #DAE455 #55E4A7
split-complementary
#5F55E4 #E4A755 #93E455
monochromatic
#241AA4 #2F23D9 #5F55E4 #918AEC #C2BFF5

Accessibility & contrast

On white

5.38
#5F55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5F55E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55E4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55E4#FFFFFF#000000##FFFFFF
##5F55E41.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f55e4;
/* rgb */ color: rgb(95, 85, 228);
/* oklch */ color: oklch(54.4% 0.209 280.0);
Tailwind
colors: {
  custom: {
    50: '#9986ee',
    500: '#5f55e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f55e4;
$custom-light: #9986ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55e4",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 244.196,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.20888,
    "h": 280
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#5F55E4
secondary
#E1E5B0
accent
#D511C7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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