#5B61DC#5B61DC

#5B61DC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.184 H 276.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5B61DC
RGBrgb(91, 97, 220)
HSLhsl(237, 65%, 61%)
HSVhsv(237, 59%, 86%)
CMYKcmyk(58.6%, 55.9%, 0%, 13.7%)
CIE-LABlab(46.89, 33.57, -63.88)
CIE-LCHlch(46.89, 72.16, 297.72°)
OKLaboklab(55.55% 0.0208 -0.1833)
OKLCHoklch(55.55% 0.184 276.5)
XYZxyz(21.5032, 15.9392, 69.6397)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61DC #DCD65B
analogous
#5BA1DC #5B61DC #955BDC
triadic
#5B61DC #DC5B61 #61DC5B
tetradic
#5B61DC #DC5BA1 #DCD65B #5BDC95
square
#5B61DC #DC5BA1 #DCD65B #5BDC95
split-complementary
#5B61DC #DC955B #A1DC5B
monochromatic
#21279B #2C33CE #5B61DC #8D92E7 #C0C2F2

Accessibility & contrast

On white

5.01
#5B61DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5B61DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61DC#FFFFFF#000000##FFFFFF
##5B61DC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b61dc;
/* rgb */ color: rgb(91, 97, 220);
/* oklch */ color: oklch(55.6% 0.184 276.5);
Tailwind
colors: {
  custom: {
    50: '#958ee8',
    500: '#5b61dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b61dc;
$custom-light: #958ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61dc",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 237.209,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.18448,
    "h": 276.5
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#5B61DC
secondary
#E2DFB1
accent
#C419CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B61DC

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

Preview Lab → · Contrast checker → · Palette generator →

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