#5F55C6#5F55C6

#5F55C6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.170 H 282.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F55C6
RGBrgb(95, 85, 198)
HSLhsl(245, 50%, 55%)
HSVhsv(245, 57%, 78%)
CMYKcmyk(52%, 57.1%, 0%, 22.4%)
CIE-LABlab(42.77, 34.64, -57.92)
CIE-LCHlch(42.77, 67.49, 300.88°)
OKLaboklab(52.08% 0.0375 -0.1657)
OKLCHoklch(52.08% 0.17 282.8)
XYZxyz(18.1578, 13.0061, 54.9688)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55C6 #BCC655
analogous
#5583C6 #5F55C6 #9855C6
triadic
#5F55C6 #C65F55 #55C65F
tetradic
#5F55C6 #C65583 #BCC655 #55C698
square
#5F55C6 #C65583 #BCC655 #55C698
split-complementary
#5F55C6 #C69855 #83C655
monochromatic
#2F2878 #4138A6 #5F55C6 #8A83D5 #B5B1E5

Accessibility & contrast

On white

5.83
#5F55C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5F55C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55C6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55C6#FFFFFF#000000##FFFFFF
##5F55C61.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#356F85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f55c6;
/* rgb */ color: rgb(95, 85, 198);
/* oklch */ color: oklch(52.1% 0.170 282.8);
Tailwind
colors: {
  custom: {
    50: '#9485d8',
    500: '#5f55c6',
    950: '#000000',
  },
}
SCSS
$custom: #5f55c6;
$custom-light: #9485d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55c6",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 198
  },
  "hsl": {
    "h": 245.31,
    "s": 49.78,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.16994,
    "h": 282.8
  },
  "luminance": 0.13007
}

Semantic roles & 50–950 ramp

primary
#5F55C6
secondary
#CFD3A4
accent
#D94ECD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F55C6

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

Preview Lab → · Contrast checker → · Palette generator →

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