#5B7AED#5B7AED

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

Color values

HEX#5B7AED
RGBrgb(91, 122, 237)
HSLhsl(227, 80%, 64%)
HSVhsv(227, 62%, 93%)
CMYKcmyk(61.6%, 48.5%, 0%, 7.1%)
CIE-LABlab(54.30, 23.86, -61.50)
CIE-LCHlch(54.30, 65.97, 291.21°)
OKLaboklab(61.48% -0.0021 -0.176)
OKLCHoklch(61.48% 0.176 269.3)
XYZxyz(26.5548, 22.2554, 83.0007)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7AED #EDCE5B
analogous
#5BC3ED #5B7AED #855BED
triadic
#5B7AED #ED5B7A #7AED5B
tetradic
#5B7AED #ED5BC3 #EDCE5B #5BED85
square
#5B7AED #ED5BC3 #EDCE5B #5BED85
split-complementary
#5B7AED #ED855B #C3ED5B
monochromatic
#1437B9 #244DE7 #5B7AED #92A7F3 #C9D3F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7AED#FFFFFF#000000##000000
##5B7AED1.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)
#3D89F1
Deuteranopia (green-blind)
#1E7CEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b7aed;
/* rgb */ color: rgb(91, 122, 237);
/* oklch */ color: oklch(61.5% 0.176 269.3);
Tailwind
colors: {
  custom: {
    50: '#96a0f3',
    500: '#5b7aed',
    950: '#000000',
  },
}
SCSS
$custom: #5b7aed;
$custom-light: #96a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7aed",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 227.26,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.17603,
    "h": 269.3
  },
  "luminance": 0.22258
}

Semantic roles & 50–950 ramp

primary
#5B7AED
secondary
#EBE0B9
accent
#B009DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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