#5F55DC#5F55DC

#5F55DC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.8% C 0.199 H 280.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5F55DC
RGBrgb(95, 85, 220)
HSLhsl(244, 66%, 60%)
HSVhsv(244, 61%, 86%)
CMYKcmyk(56.8%, 61.4%, 0%, 13.7%)
CIE-LABlab(44.37, 41.49, -67.96)
CIE-LCHlch(44.37, 79.63, 301.40°)
OKLaboklab(53.76% 0.0369 -0.1953)
OKLCHoklch(53.76% 0.199 280.7)
XYZxyz(20.8820, 14.0958, 69.3167)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55DC #D2DC55
analogous
#558FDC #5F55DC #A255DC
triadic
#5F55DC #DC5F55 #55DC5F
tetradic
#5F55DC #DC558F #D2DC55 #55DCA2
square
#5F55DC #DC558F #D2DC55 #55DCA2
split-complementary
#5F55DC #DCA255 #8FDC55
monochromatic
#281F97 #362ACA #5F55DC #8F88E6 #BFBBF1

Accessibility & contrast

On white

5.50
#5F55DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5F55DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55DC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55DC#FFFFFF#000000##FFFFFF
##5F55DC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#177690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f55dc;
/* rgb */ color: rgb(95, 85, 220);
/* oklch */ color: oklch(53.8% 0.199 280.7);
Tailwind
colors: {
  custom: {
    50: '#9885e8',
    500: '#5f55dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f55dc;
$custom-light: #9885e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55dc",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 244.444,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.19874,
    "h": 280.7
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

primary
#5F55DC
secondary
#DDE0AC
accent
#E93FDC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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