#5F5ACE#5F5ACE

#5F5ACE is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.6% C 0.174 H 280.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5F5ACE
RGBrgb(95, 90, 206)
HSLhsl(243, 54%, 58%)
HSVhsv(243, 56%, 81%)
CMYKcmyk(53.9%, 56.3%, 0%, 19.2%)
CIE-LABlab(44.52, 34.10, -59.71)
CIE-LCHlch(44.52, 68.76, 299.73°)
OKLaboklab(53.55% 0.0323 -0.171)
OKLCHoklch(53.55% 0.174 280.7)
XYZxyz(19.5126, 14.2003, 60.0933)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5ACE #C9CE5A
analogous
#5A8FCE #5F5ACE #995ACE
triadic
#5F5ACE #CE5F5A #5ACE5F
tetradic
#5F5ACE #CE5A8F #C9CE5A #5ACE99
square
#5F5ACE #CE5A8F #C9CE5A #5ACE99
split-complementary
#5F5ACE #CE995A #8FCE5A
monochromatic
#2C2886 #3B36B5 #5F5ACE #8D89DC #BBB8EA

Accessibility & contrast

On white

5.47
#5F5ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5F5ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5ACE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5ACE#FFFFFF#000000##FFFFFF
##5F5ACE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#2C758B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f5ace;
/* rgb */ color: rgb(95, 90, 206);
/* oklch */ color: oklch(53.6% 0.174 280.7);
Tailwind
colors: {
  custom: {
    50: '#9589de',
    500: '#5f5ace',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ace;
$custom-light: #9589de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ace",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 242.586,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.174,
    "h": 280.7
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#5F5ACE
secondary
#D7D9AB
accent
#DE4AD7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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