#5B61DB#5B61DB

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

Color values

HEX#5B61DB
RGBrgb(91, 97, 219)
HSLhsl(237, 64%, 61%)
HSVhsv(237, 58%, 86%)
CMYKcmyk(58.4%, 55.7%, 0%, 14.1%)
CIE-LABlab(46.83, 33.24, -63.42)
CIE-LCHlch(46.83, 71.61, 297.66°)
OKLaboklab(55.48% 0.0208 -0.182)
OKLCHoklch(55.48% 0.183 276.5)
XYZxyz(21.3711, 15.8864, 68.9443)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61DB #DBD55B
analogous
#5BA1DB #5B61DB #955BDB
triadic
#5B61DB #DB5B61 #61DB5B
tetradic
#5B61DB #DB5BA1 #DBD55B #5BDB95
square
#5B61DB #DB5BA1 #DBD55B #5BDB95
split-complementary
#5B61DB #DB955B #A1DB5B
monochromatic
#22279A #2D34CC #5B61DB #8D91E6 #BFC2F1

Accessibility & contrast

On white

5.03
#5B61DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5B61DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61DB#FFFFFF#000000##FFFFFF
##5B61DB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b61db;
/* rgb */ color: rgb(91, 97, 219);
/* oklch */ color: oklch(55.5% 0.183 276.5);
Tailwind
colors: {
  custom: {
    50: '#948ee7',
    500: '#5b61db',
    950: '#000000',
  },
}
SCSS
$custom: #5b61db;
$custom-light: #948ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61db",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 237.188,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55479,
    "c": 0.18314,
    "h": 276.5
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#5B61DB
secondary
#E1DFB1
accent
#C31ACC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B61DB

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

Preview Lab → · Contrast checker → · Palette generator →

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