#5B6AEB#5B6AEB

#5B6AEB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.3% C 0.193 H 273.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5B6AEB
RGBrgb(91, 106, 235)
HSLhsl(234, 78%, 64%)
HSVhsv(234, 61%, 92%)
CMYKcmyk(61.3%, 54.9%, 0%, 7.8%)
CIE-LABlab(50.13, 32.98, -67.10)
CIE-LCHlch(50.13, 74.77, 296.18°)
OKLaboklab(58.3% 0.0128 -0.1927)
OKLCHoklch(58.3% 0.193 273.8)
XYZxyz(24.4589, 18.5284, 80.8686)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6AEB #EBDC5B
analogous
#5BB2EB #5B6AEB #945BEB
triadic
#5B6AEB #EB5B6A #6AEB5B
tetradic
#5B6AEB #EB5BB2 #EBDC5B #5BEB94
square
#5B6AEB #EB5BB2 #EBDC5B #5BEB94
split-complementary
#5B6AEB #EB945B #B2EB5B
monochromatic
#1627B5 #2438E4 #5B6AEB #929CF2 #C8CDF8

Accessibility & contrast

On white

4.46
#5B6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5B6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6AEB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6AEB#FFFFFF#000000##000000
##5B6AEB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b6aeb;
/* rgb */ color: rgb(91, 106, 235);
/* oklch */ color: oklch(58.3% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#9794f2',
    500: '#5b6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5b6aeb;
$custom-light: #9794f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6aeb",
  "rgb": {
    "r": 91,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 233.75,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.19312,
    "h": 273.8
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#5B6AEB
secondary
#EAE5B8
accent
#C50BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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