#5B61CD#5B61CD

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

Color values

HEX#5B61CD
RGBrgb(91, 97, 205)
HSLhsl(237, 53%, 58%)
HSVhsv(237, 56%, 80%)
CMYKcmyk(55.6%, 52.7%, 0%, 19.6%)
CIE-LABlab(45.88, 28.70, -56.95)
CIE-LCHlch(45.88, 63.78, 296.75°)
OKLaboklab(54.47% 0.0202 -0.1629)
OKLCHoklch(54.47% 0.164 277.1)
XYZxyz(19.6050, 15.1800, 59.6427)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61CD #CDC75B
analogous
#5B9ACD #5B61CD #8E5BCD
triadic
#5B61CD #CD5B61 #61CD5B
tetradic
#5B61CD #CD5B9A #CDC75B #5BCD8E
square
#5B61CD #CD5B9A #CDC75B #5BCD8E
split-complementary
#5B61CD #CD8E5B #9ACD5B
monochromatic
#292D85 #373DB4 #5B61CD #8A8EDB #B9BBEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B61CD#FFFFFF#000000##FFFFFF
##5B61CD1.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)
#2371D1
Deuteranopia (green-blind)
#0768CB
Tritanopia (blue-blind)
#1E7A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b61cd;
/* rgb */ color: rgb(91, 97, 205);
/* oklch */ color: oklch(54.5% 0.164 277.1);
Tailwind
colors: {
  custom: {
    50: '#928ddd',
    500: '#5b61cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b61cd;
$custom-light: #928ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61cd",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 236.842,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.16417,
    "h": 277.1
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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