#5B6BDF#5B6BDF

#5B6BDF is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.6% C 0.176 H 273.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5B6BDF
RGBrgb(91, 107, 223)
HSLhsl(233, 67%, 62%)
HSVhsv(233, 59%, 87%)
CMYKcmyk(59.2%, 52%, 0%, 12.5%)
CIE-LABlab(49.58, 28.41, -61.24)
CIE-LCHlch(49.58, 67.52, 294.89°)
OKLaboklab(57.62% 0.0112 -0.1754)
OKLCHoklch(57.62% 0.176 273.7)
XYZxyz(22.8870, 18.0655, 72.0786)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BDF #DFCF5B
analogous
#5BADDF #5B6BDF #8D5BDF
triadic
#5B6BDF #DF5B6B #6BDF5B
tetradic
#5B6BDF #DF5BAD #DFCF5B #5BDF8D
square
#5B6BDF #DF5BAD #DFCF5B #5BDF8D
split-complementary
#5B6BDF #DF8D5B #ADDF5B
monochromatic
#1F2FA0 #293ED4 #5B6BDF #8E99E9 #C1C7F3

Accessibility & contrast

On white

4.55
#5B6BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5B6BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6BDF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BDF#FFFFFF#000000##000000
##5B6BDF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#267CE3
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b6bdf;
/* rgb */ color: rgb(91, 107, 223);
/* oklch */ color: oklch(57.6% 0.176 273.7);
Tailwind
colors: {
  custom: {
    50: '#9595ea',
    500: '#5b6bdf',
    950: '#000000',
  },
}
SCSS
$custom: #5b6bdf;
$custom-light: #9595ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6bdf",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 232.727,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.17581,
    "h": 273.7
  },
  "luminance": 0.18067
}

Semantic roles & 50–950 ramp

primary
#5B6BDF
secondary
#E3DEB2
accent
#B916CF
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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