#5B7AE5#5B7AE5

#5B7AE5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.165 H 268.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5B7AE5
RGBrgb(91, 122, 229)
HSLhsl(227, 73%, 63%)
HSVhsv(227, 60%, 90%)
CMYKcmyk(60.3%, 46.7%, 0%, 10.2%)
CIE-LABlab(53.81, 21.19, -57.81)
CIE-LCHlch(53.81, 61.57, 290.14°)
OKLaboklab(60.95% -0.0031 -0.1652)
OKLCHoklch(60.95% 0.165 268.9)
XYZxyz(25.4120, 21.7982, 76.9819)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7AE5 #E5C65B
analogous
#5BBFE5 #5B7AE5 #815BE5
triadic
#5B7AE5 #E55B7A #7AE55B
tetradic
#5B7AE5 #E55BBF #E5C65B #5BE581
square
#5B7AE5 #E55BBF #E5C65B #5BE581
split-complementary
#5B7AE5 #E5815B #BFE55B
monochromatic
#1B3BAB #264FDD #5B7AE5 #90A5ED #C5D0F6

Accessibility & contrast

On white

3.92
#5B7AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5B7AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7AE5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7AE5#FFFFFF#000000##000000
##5B7AE51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#2E7BE3
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b7ae5;
/* rgb */ color: rgb(91, 122, 229);
/* oklch */ color: oklch(61.0% 0.165 268.9);
Tailwind
colors: {
  custom: {
    50: '#95a0ee',
    500: '#5b7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ae5;
$custom-light: #95a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ae5",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 226.522,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60953,
    "c": 0.16519,
    "h": 268.9
  },
  "luminance": 0.218
}

Semantic roles & 50–950 ramp

primary
#5B7AE5
secondary
#E7DCB5
accent
#A911D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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