#5B61CF#5B61CF

#5B61CF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.167 H 277.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5B61CF
RGBrgb(91, 97, 207)
HSLhsl(237, 55%, 58%)
HSVhsv(237, 56%, 81%)
CMYKcmyk(56%, 53.1%, 0%, 18.8%)
CIE-LABlab(46.01, 29.35, -57.89)
CIE-LCHlch(46.01, 64.90, 296.88°)
OKLaboklab(54.61% 0.0203 -0.1657)
OKLCHoklch(54.61% 0.167 277)
XYZxyz(19.8480, 15.2772, 60.9223)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61CF #CFC95B
analogous
#5B9BCF #5B61CF #8F5BCF
triadic
#5B61CF #CF5B61 #61CF5B
tetradic
#5B61CF #CF5B9B #CFC95B #5BCF8F
square
#5B61CF #CF5B9B #CFC95B #5BCF8F
split-complementary
#5B61CF #CF8F5B #9BCF5B
monochromatic
#282D88 #363CB7 #5B61CF #8A8FDD #BABCEB

Accessibility & contrast

On white

5.18
#5B61CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5B61CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61CF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61CF#FFFFFF#000000##FFFFFF
##5B61CF1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#1A7A8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b61cf;
/* rgb */ color: rgb(91, 97, 207);
/* oklch */ color: oklch(54.6% 0.167 277.0);
Tailwind
colors: {
  custom: {
    50: '#938dde',
    500: '#5b61cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b61cf;
$custom-light: #938dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61cf",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 236.897,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.16691,
    "h": 277
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#5B61CF
secondary
#DAD8AC
accent
#D64ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B61CF

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

Preview Lab → · Contrast checker → · Palette generator →

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