#5B6FD2#5B6FD2

#5B6FD2 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.5% C 0.153 H 272.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5B6FD2
RGBrgb(91, 111, 210)
HSLhsl(230, 57%, 59%)
HSVhsv(230, 57%, 82%)
CMYKcmyk(56.7%, 47.1%, 0%, 17.6%)
CIE-LABlab(49.79, 21.67, -53.52)
CIE-LCHlch(49.79, 57.75, 292.04°)
OKLaboklab(57.53% 0.0058 -0.1527)
OKLCHoklch(57.53% 0.153 272.2)
XYZxyz(21.6279, 18.2446, 63.3421)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FD2 #D2BE5B
analogous
#5BABD2 #5B6FD2 #835BD2
triadic
#5B6FD2 #D25B6F #6FD25B
tetradic
#5B6FD2 #D25BAB #D2BE5B #5BD283
square
#5B6FD2 #D25BAB #D2BE5B #5BD283
split-complementary
#5B6FD2 #D2835B #ABD25B
monochromatic
#26388C #344BBC #5B6FD2 #8B99DF #BBC3EC

Accessibility & contrast

On white

4.52
#5B6FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5B6FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FD2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FD2#FFFFFF#000000##000000
##5B6FD21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#2F72D0
Tritanopia (blue-blind)
#0D8596
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b6fd2;
/* rgb */ color: rgb(91, 111, 210);
/* oklch */ color: oklch(57.5% 0.153 272.2);
Tailwind
colors: {
  custom: {
    50: '#9298e0',
    500: '#5b6fd2',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fd2;
$custom-light: #9298e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fd2",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 210
  },
  "hsl": {
    "h": 229.916,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.15281,
    "h": 272.2
  },
  "luminance": 0.18246
}

Semantic roles & 50–950 ramp

primary
#5B6FD2
secondary
#DCD4AD
accent
#C748E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B6FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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