#5F5AD2#5F5AD2

#5F5AD2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.179 H 280.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F5AD2
RGBrgb(95, 90, 210)
HSLhsl(243, 57%, 59%)
HSVhsv(243, 57%, 82%)
CMYKcmyk(54.8%, 57.1%, 0%, 17.6%)
CIE-LABlab(44.80, 35.36, -61.56)
CIE-LCHlch(44.80, 70.99, 299.88°)
OKLaboklab(53.85% 0.0323 -0.1764)
OKLCHoklch(53.85% 0.179 280.4)
XYZxyz(20.0047, 14.3971, 62.6851)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5AD2 #CDD25A
analogous
#5A91D2 #5F5AD2 #9B5AD2
triadic
#5F5AD2 #D25F5A #5AD25F
tetradic
#5F5AD2 #D25A91 #CDD25A #5AD29B
square
#5F5AD2 #D25A91 #CDD25A #5AD29B
split-complementary
#5F5AD2 #D29B5A #91D25A
monochromatic
#2A268C #3933BC #5F5AD2 #8E8ADF #BCBAEC

Accessibility & contrast

On white

5.41
#5F5AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5F5AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5AD2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5AD2#FFFFFF#000000##FFFFFF
##5F5AD21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#27768D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f5ad2;
/* rgb */ color: rgb(95, 90, 210);
/* oklch */ color: oklch(53.8% 0.179 280.4);
Tailwind
colors: {
  custom: {
    50: '#9689e1',
    500: '#5f5ad2',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ad2;
$custom-light: #9689e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ad2",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 242.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53847,
    "c": 0.17934,
    "h": 280.4
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#5F5AD2
secondary
#DADCAC
accent
#E047DA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F5AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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