#5B61CE#5B61CE

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

Color values

HEX#5B61CE
RGBrgb(91, 97, 206)
HSLhsl(237, 54%, 58%)
HSVhsv(237, 56%, 81%)
CMYKcmyk(55.8%, 52.9%, 0%, 19.2%)
CIE-LABlab(45.95, 29.02, -57.42)
CIE-LCHlch(45.95, 64.34, 296.82°)
OKLaboklab(54.54% 0.0203 -0.1643)
OKLCHoklch(54.54% 0.166 277)
XYZxyz(19.7261, 15.2284, 60.2805)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61CE #CEC85B
analogous
#5B9ACE #5B61CE #8E5BCE
triadic
#5B61CE #CE5B61 #61CE5B
tetradic
#5B61CE #CE5B9A #CEC85B #5BCE8E
square
#5B61CE #CE5B9A #CEC85B #5BCE8E
split-complementary
#5B61CE #CE8E5B #9ACE5B
monochromatic
#282D86 #363DB6 #5B61CE #8A8EDC #B9BCEA

Accessibility & contrast

On white

5.19
#5B61CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5B61CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61CE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61CE#FFFFFF#000000##FFFFFF
##5B61CE1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#0268CC
Tritanopia (blue-blind)
#1C7A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b61ce;
/* rgb */ color: rgb(91, 97, 206);
/* oklch */ color: oklch(54.5% 0.166 277.0);
Tailwind
colors: {
  custom: {
    50: '#928dde',
    500: '#5b61ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b61ce;
$custom-light: #928dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61ce",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 206
  },
  "hsl": {
    "h": 236.87,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.16555,
    "h": 277
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#5B61CE
secondary
#D9D7AB
accent
#D64ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B61CE

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

Preview Lab → · Contrast checker → · Palette generator →

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