#5B6DDF#5B6DDF

#5B6DDF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.0% C 0.173 H 273.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5B6DDF
RGBrgb(91, 109, 223)
HSLhsl(232, 67%, 62%)
HSVhsv(232, 59%, 87%)
CMYKcmyk(59.2%, 51.1%, 0%, 12.5%)
CIE-LABlab(50.08, 27.18, -60.43)
CIE-LCHlch(50.08, 66.26, 294.22°)
OKLaboklab(58.01% 0.0092 -0.173)
OKLCHoklch(58.01% 0.173 273.1)
XYZxyz(23.0979, 18.4873, 72.1490)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6DDF #DFCD5B
analogous
#5BAFDF #5B6DDF #8B5BDF
triadic
#5B6DDF #DF5B6D #6DDF5B
tetradic
#5B6DDF #DF5BAF #DFCD5B #5BDF8B
square
#5B6DDF #DF5BAF #DFCD5B #5BDF8B
split-complementary
#5B6DDF #DF8B5B #AFDF5B
monochromatic
#1F31A0 #2940D4 #5B6DDF #8E9BE9 #C1C8F3

Accessibility & contrast

On white

4.47
#5B6DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5B6DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6DDF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6DDF#FFFFFF#000000##000000
##5B6DDF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7DE3
Deuteranopia (green-blind)
#0672DD
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b6ddf;
/* rgb */ color: rgb(91, 109, 223);
/* oklch */ color: oklch(58.0% 0.173 273.1);
Tailwind
colors: {
  custom: {
    50: '#9496ea',
    500: '#5b6ddf',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ddf;
$custom-light: #9496ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ddf",
  "rgb": {
    "r": 91,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 231.818,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.17328,
    "h": 273.1
  },
  "luminance": 0.18489
}

Semantic roles & 50–950 ramp

primary
#5B6DDF
secondary
#E3DDB2
accent
#B616CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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