#5B61DF#5B61DF

#5B61DF is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.8% C 0.188 H 276.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5B61DF
RGBrgb(91, 97, 223)
HSLhsl(237, 67%, 62%)
HSVhsv(237, 59%, 87%)
CMYKcmyk(59.2%, 56.5%, 0%, 12.5%)
CIE-LABlab(47.10, 34.54, -65.24)
CIE-LCHlch(47.10, 73.82, 297.90°)
OKLaboklab(55.78% 0.0208 -0.1873)
OKLCHoklch(55.78% 0.188 276.3)
XYZxyz(21.9041, 16.0996, 71.7510)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61DF #DFD95B
analogous
#5BA3DF #5B61DF #975BDF
triadic
#5B61DF #DF5B61 #61DF5B
tetradic
#5B61DF #DF5BA3 #DFD95B #5BDF97
square
#5B61DF #DF5BA3 #DFD95B #5BDF97
split-complementary
#5B61DF #DF975B #A3DF5B
monochromatic
#1F25A0 #2931D4 #5B61DF #8E92E9 #C1C4F3

Accessibility & contrast

On white

4.98
#5B61DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5B61DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61DF#FFFFFF#000000##FFFFFF
##5B61DF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b61df;
/* rgb */ color: rgb(91, 97, 223);
/* oklch */ color: oklch(55.8% 0.188 276.3);
Tailwind
colors: {
  custom: {
    50: '#958eea',
    500: '#5b61df',
    950: '#000000',
  },
}
SCSS
$custom: #5b61df;
$custom-light: #958eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61df",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 237.273,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55776,
    "c": 0.18846,
    "h": 276.3
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#5B61DF
secondary
#E3E1B2
accent
#C716CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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