#5B7BE9#5B7BE9

#5B7BE9 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.4% C 0.169 H 268.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B7BE9
RGBrgb(91, 123, 233)
HSLhsl(226, 76%, 64%)
HSVhsv(226, 61%, 91%)
CMYKcmyk(60.9%, 47.2%, 0%, 8.6%)
CIE-LABlab(54.31, 21.92, -59.24)
CIE-LCHlch(54.31, 63.16, 290.30°)
OKLaboklab(61.41% -0.0035 -0.1694)
OKLCHoklch(61.41% 0.169 268.8)
XYZxyz(26.1003, 22.2710, 79.9983)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BE9 #E9C95B
analogous
#5BC2E9 #5B7BE9 #825BE9
triadic
#5B7BE9 #E95B7B #7BE95B
tetradic
#5B7BE9 #E95BC2 #E9C95B #5BE982
square
#5B7BE9 #E95BC2 #E9C95B #5BE982
split-complementary
#5B7BE9 #E9825B #C2E95B
monochromatic
#183BB2 #2550E2 #5B7BE9 #91A6F0 #C7D2F7

Accessibility & contrast

On white

3.85
#5B7BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5B7BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BE9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BE9#FFFFFF#000000##000000
##5B7BE91.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489ED
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b7be9;
/* rgb */ color: rgb(91, 123, 233);
/* oklch */ color: oklch(61.4% 0.169 268.8);
Tailwind
colors: {
  custom: {
    50: '#95a0f1',
    500: '#5b7be9',
    950: '#000000',
  },
}
SCSS
$custom: #5b7be9;
$custom-light: #95a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7be9",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 226.479,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61412,
    "c": 0.16941,
    "h": 268.8
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

primary
#5B7BE9
secondary
#E9DEB7
accent
#AB0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B7BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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