#5F55DA#5F55DA

#5F55DA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.6% C 0.196 H 280.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5F55DA
RGBrgb(95, 85, 218)
HSLhsl(245, 64%, 59%)
HSVhsv(245, 61%, 85%)
CMYKcmyk(56.4%, 61%, 0%, 14.5%)
CIE-LABlab(44.22, 40.86, -67.07)
CIE-LCHlch(44.22, 78.54, 301.35°)
OKLaboklab(53.6% 0.037 -0.1926)
OKLCHoklch(53.6% 0.196 280.9)
XYZxyz(20.6187, 13.9905, 67.9300)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55DA #D0DA55
analogous
#558EDA #5F55DA #A155DA
triadic
#5F55DA #DA5F55 #55DA5F
tetradic
#5F55DA #DA558E #D0DA55 #55DAA1
square
#5F55DA #DA558E #D0DA55 #55DAA1
split-complementary
#5F55DA #DAA155 #8EDA55
monochromatic
#292094 #372BC7 #5F55DA #8E87E5 #BEBAF0

Accessibility & contrast

On white

5.53
#5F55DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5F55DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55DA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55DA#FFFFFF#000000##FFFFFF
##5F55DA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#1C758F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f55da;
/* rgb */ color: rgb(95, 85, 218);
/* oklch */ color: oklch(53.6% 0.196 280.9);
Tailwind
colors: {
  custom: {
    50: '#9785e6',
    500: '#5f55da',
    950: '#000000',
  },
}
SCSS
$custom: #5f55da;
$custom-light: #9785e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55da",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 218
  },
  "hsl": {
    "h": 244.511,
    "s": 64.251,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.19616,
    "h": 280.9
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

primary
#5F55DA
secondary
#DBDFAB
accent
#E741DB
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F55DA

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

Preview Lab → · Contrast checker → · Palette generator →

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