#5F55CE#5F55CE

#5F55CE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.181 H 282.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F55CE
RGBrgb(95, 85, 206)
HSLhsl(245, 55%, 57%)
HSVhsv(245, 59%, 81%)
CMYKcmyk(53.9%, 58.7%, 0%, 19.2%)
CIE-LABlab(43.34, 37.13, -61.62)
CIE-LCHlch(43.34, 71.94, 301.07°)
OKLaboklab(52.68% 0.0374 -0.1766)
OKLCHoklch(52.68% 0.181 282)
XYZxyz(19.1050, 13.3850, 59.9574)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55CE #C4CE55
analogous
#5587CE #5F55CE #9C55CE
triadic
#5F55CE #CE5F55 #55CE5F
tetradic
#5F55CE #CE5587 #C4CE55 #55CE9C
square
#5F55CE #CE5587 #C4CE55 #55CE9C
split-complementary
#5F55CE #CE9C55 #87CE55
monochromatic
#2D2683 #3E33B2 #5F55CE #8C85DC #B8B4E9

Accessibility & contrast

On white

5.71
#5F55CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5F55CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55CE#FFFFFF#000000##FFFFFF
##5F55CE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#2D7189
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f55ce;
/* rgb */ color: rgb(95, 85, 206);
/* oklch */ color: oklch(52.7% 0.181 282.0);
Tailwind
colors: {
  custom: {
    50: '#9585de',
    500: '#5f55ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f55ce;
$custom-light: #9585de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55ce",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 244.959,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.18056,
    "h": 282
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

primary
#5F55CE
secondary
#D4D8A7
accent
#DF49D2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F55CE

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

Preview Lab → · Contrast checker → · Palette generator →

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