#5F55D2#5F55D2

#5F55D2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.0% C 0.186 H 281.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5F55D2
RGBrgb(95, 85, 210)
HSLhsl(245, 58%, 58%)
HSVhsv(245, 60%, 82%)
CMYKcmyk(54.8%, 59.5%, 0%, 17.6%)
CIE-LABlab(43.63, 38.37, -63.45)
CIE-LCHlch(43.63, 74.15, 301.16°)
OKLaboklab(52.98% 0.0373 -0.182)
OKLCHoklch(52.98% 0.186 281.6)
XYZxyz(19.5971, 13.5818, 62.5492)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55D2 #C8D255
analogous
#5589D2 #5F55D2 #9D55D2
triadic
#5F55D2 #D25F55 #55D25F
tetradic
#5F55D2 #D25589 #C8D255 #55D29D
square
#5F55D2 #D25589 #C8D255 #55D29D
split-complementary
#5F55D2 #D29D55 #89D255
monochromatic
#2C2488 #3C31B9 #5F55D2 #8D85DF #BAB6EC

Accessibility & contrast

On white

5.65
#5F55D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5F55D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55D2#FFFFFF#000000##FFFFFF
##5F55D21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#28738B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f55d2;
/* rgb */ color: rgb(95, 85, 210);
/* oklch */ color: oklch(53.0% 0.186 281.6);
Tailwind
colors: {
  custom: {
    50: '#9685e1',
    500: '#5f55d2',
    950: '#000000',
  },
}
SCSS
$custom: #5f55d2;
$custom-light: #9685e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55d2",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 244.8,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.18581,
    "h": 281.6
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#5F55D2
secondary
#D6DAA8
accent
#E146D5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F55D2

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

Preview Lab → · Contrast checker → · Palette generator →

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