#5B6FDB#5B6FDB

#5B6FDB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.165 H 272.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5B6FDB
RGBrgb(91, 111, 219)
HSLhsl(231, 64%, 61%)
HSVhsv(231, 58%, 86%)
CMYKcmyk(58.4%, 49.3%, 0%, 14.1%)
CIE-LABlab(50.34, 24.63, -57.75)
CIE-LCHlch(50.34, 62.78, 293.10°)
OKLaboklab(58.12% 0.0069 -0.1651)
OKLCHoklch(58.12% 0.165 272.4)
XYZxyz(22.7808, 18.7057, 69.4142)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FDB #DBC75B
analogous
#5BAFDB #5B6FDB #875BDB
triadic
#5B6FDB #DB5B6F #6FDB5B
tetradic
#5B6FDB #DB5BAF #DBC75B #5BDB87
square
#5B6FDB #DB5BAF #DBC75B #5BDB87
split-complementary
#5B6FDB #DB875B #AFDB5B
monochromatic
#22359A #2D46CC #5B6FDB #8D9BE6 #BFC7F1

Accessibility & contrast

On white

4.43
#5B6FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5B6FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FDB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FDB#FFFFFF#000000##000000
##5B6FDB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#1F72D9
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6fdb;
/* rgb */ color: rgb(91, 111, 219);
/* oklch */ color: oklch(58.1% 0.165 272.4);
Tailwind
colors: {
  custom: {
    50: '#9498e7',
    500: '#5b6fdb',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fdb;
$custom-light: #9498e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fdb",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 230.625,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.16527,
    "h": 272.4
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#5B6FDB
secondary
#E1DAB1
accent
#B01ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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