#5B6FDD#5B6FDD

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

Color values

HEX#5B6FDD
RGBrgb(91, 111, 221)
HSLhsl(231, 66%, 61%)
HSVhsv(231, 59%, 87%)
CMYKcmyk(58.8%, 49.8%, 0%, 13.3%)
CIE-LABlab(50.47, 25.29, -58.68)
CIE-LCHlch(50.47, 63.90, 293.32°)
OKLaboklab(58.26% 0.0071 -0.1679)
OKLCHoklch(58.26% 0.168 272.4)
XYZxyz(23.0457, 18.8117, 70.8092)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FDD #DDC95B
analogous
#5BB0DD #5B6FDD #885BDD
triadic
#5B6FDD #DD5B6F #6FDD5B
tetradic
#5B6FDD #DD5BB0 #DDC95B #5BDD88
square
#5B6FDD #DD5BB0 #DDC95B #5BDD88
split-complementary
#5B6FDD #DD885B #B0DD5B
monochromatic
#21349D #2B44D0 #5B6FDD #8E9CE8 #C0C8F2

Accessibility & contrast

On white

4.41
#5B6FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5B6FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FDD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FDD#FFFFFF#000000##000000
##5B6FDD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE1
Deuteranopia (green-blind)
#1A73DB
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6fdd;
/* rgb */ color: rgb(91, 111, 221);
/* oklch */ color: oklch(58.3% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#9498e8',
    500: '#5b6fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fdd;
$custom-light: #9498e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fdd",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 230.769,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.16801,
    "h": 272.4
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#5B6FDD
secondary
#E2DBB1
accent
#B218CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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