#5B6FDC#5B6FDC

#5B6FDC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.2% C 0.167 H 272.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5B6FDC
RGBrgb(91, 111, 220)
HSLhsl(231, 65%, 61%)
HSVhsv(231, 59%, 86%)
CMYKcmyk(58.6%, 49.5%, 0%, 13.7%)
CIE-LABlab(50.40, 24.96, -58.22)
CIE-LCHlch(50.40, 63.34, 293.21°)
OKLaboklab(58.19% 0.007 -0.1665)
OKLCHoklch(58.19% 0.167 272.4)
XYZxyz(22.9128, 18.7585, 70.1096)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FDC #DCC85B
analogous
#5BAFDC #5B6FDC #875BDC
triadic
#5B6FDC #DC5B6F #6FDC5B
tetradic
#5B6FDC #DC5BAF #DCC85B #5BDC87
square
#5B6FDC #DC5BAF #DCC85B #5BDC87
split-complementary
#5B6FDC #DC875B #AFDC5B
monochromatic
#21349B #2C45CE #5B6FDC #8D9BE7 #C0C8F2

Accessibility & contrast

On white

4.42
#5B6FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5B6FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FDC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FDC#FFFFFF#000000##000000
##5B6FDC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#1D73DA
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6fdc;
/* rgb */ color: rgb(91, 111, 220);
/* oklch */ color: oklch(58.2% 0.167 272.4);
Tailwind
colors: {
  custom: {
    50: '#9498e7',
    500: '#5b6fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fdc;
$custom-light: #9498e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fdc",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 230.698,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.16665,
    "h": 272.4
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

primary
#5B6FDC
secondary
#E2DAB1
accent
#B119CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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