#5A61CD#5A61CD

#5A61CD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.164 H 276.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5A61CD
RGBrgb(90, 97, 205)
HSLhsl(236, 53%, 58%)
HSVhsv(236, 56%, 80%)
CMYKcmyk(56.1%, 52.7%, 0%, 19.6%)
CIE-LABlab(45.81, 28.50, -57.07)
CIE-LCHlch(45.81, 63.79, 296.54°)
OKLaboklab(54.4% 0.0191 -0.1633)
OKLCHoklch(54.4% 0.164 276.7)
XYZxyz(19.5071, 15.1295, 59.6381)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A61CD #CDC65A
analogous
#5A9ACD #5A61CD #8D5ACD
triadic
#5A61CD #CD5A61 #61CD5A
tetradic
#5A61CD #CD5A9A #CDC65A #5ACD8D
square
#5A61CD #CD5A9A #CDC65A #5ACD8D
split-complementary
#5A61CD #CD8D5A #9ACD5A
monochromatic
#282E84 #363EB3 #5A61CD #898EDB #B8BBE9

Accessibility & contrast

On white

5.22
#5A61CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5A61CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A61CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A61CD#FFFFFF#000000##FFFFFF
##5A61CD1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#0468CB
Tritanopia (blue-blind)
#1A7A8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a61cd;
/* rgb */ color: rgb(90, 97, 205);
/* oklch */ color: oklch(54.4% 0.164 276.7);
Tailwind
colors: {
  custom: {
    50: '#928ddd',
    500: '#5a61cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a61cd;
$custom-light: #928ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a61cd",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 236.348,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.1644,
    "h": 276.7
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#5A61CD
secondary
#D8D6AA
accent
#D44BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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