#5F5ABE#5F5ABE

#5F5ABE is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.152 H 282.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5F5ABE
RGBrgb(95, 90, 190)
HSLhsl(243, 43%, 55%)
HSVhsv(243, 53%, 75%)
CMYKcmyk(50%, 52.6%, 0%, 25.5%)
CIE-LABlab(43.45, 29.09, -52.18)
CIE-LCHlch(43.45, 59.74, 299.14°)
OKLaboklab(52.42% 0.0317 -0.1488)
OKLCHoklch(52.42% 0.152 282)
XYZxyz(17.6669, 13.4620, 50.3727)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5ABE #B9BE5A
analogous
#5A87BE #5F5ABE #915ABE
triadic
#5F5ABE #BE5F5A #5ABE5F
tetradic
#5F5ABE #BE5A87 #B9BE5A #5ABE91
square
#5F5ABE #BE5A87 #B9BE5A #5ABE91
split-complementary
#5F5ABE #BE915A #87BE5A
monochromatic
#302D71 #433E9D #5F5ABE #8A86CF #B4B2E1

Accessibility & contrast

On white

5.69
#5F5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5F5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5ABE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5ABE#FFFFFF#000000##FFFFFF
##5F5ABE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#3B7083
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f5abe;
/* rgb */ color: rgb(95, 90, 190);
/* oklch */ color: oklch(52.4% 0.152 282.0);
Tailwind
colors: {
  custom: {
    50: '#9388d2',
    500: '#5f5abe',
    950: '#000000',
  },
}
SCSS
$custom: #5f5abe;
$custom-light: #9388d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5abe",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 243,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.15217,
    "h": 282
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#5F5ABE
secondary
#CDCFA5
accent
#D355CD
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5F5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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