#5A61CE#5A61CE

#5A61CE is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.166 H 276.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A61CE
RGBrgb(90, 97, 206)
HSLhsl(236, 54%, 58%)
HSVhsv(236, 56%, 81%)
CMYKcmyk(56.3%, 52.9%, 0%, 19.2%)
CIE-LABlab(45.88, 28.83, -57.54)
CIE-LCHlch(45.88, 64.35, 296.61°)
OKLaboklab(54.47% 0.0191 -0.1647)
OKLCHoklch(54.47% 0.166 276.6)
XYZxyz(19.6282, 15.1779, 60.2759)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A61CE #CEC75A
analogous
#5A9BCE #5A61CE #8D5ACE
triadic
#5A61CE #CE5A61 #61CE5A
tetradic
#5A61CE #CE5A9B #CEC75A #5ACE8D
square
#5A61CE #CE5A9B #CEC75A #5ACE8D
split-complementary
#5A61CE #CE8D5A #9BCE5A
monochromatic
#282D86 #363DB5 #5A61CE #898EDC #B8BBEA

Accessibility & contrast

On white

5.20
#5A61CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5A61CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A61CE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A61CE#FFFFFF#000000##FFFFFF
##5A61CE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#187A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a61ce;
/* rgb */ color: rgb(90, 97, 206);
/* oklch */ color: oklch(54.5% 0.166 276.6);
Tailwind
colors: {
  custom: {
    50: '#928dde',
    500: '#5a61ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a61ce;
$custom-light: #928dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a61ce",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 236.379,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.16577,
    "h": 276.6
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#5A61CE
secondary
#D9D6AB
accent
#D54ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A61CE

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

Preview Lab → · Contrast checker → · Palette generator →

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