#5B6AEA#5B6AEA

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

Color values

HEX#5B6AEA
RGBrgb(91, 106, 234)
HSLhsl(234, 77%, 64%)
HSVhsv(234, 61%, 92%)
CMYKcmyk(61.1%, 54.7%, 0%, 8.2%)
CIE-LABlab(50.06, 32.65, -66.65)
CIE-LCHlch(50.06, 74.22, 296.10°)
OKLaboklab(58.22% 0.0127 -0.1914)
OKLCHoklch(58.22% 0.192 273.8)
XYZxyz(24.3148, 18.4707, 80.1098)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6AEA #EADB5B
analogous
#5BB1EA #5B6AEA #935BEA
triadic
#5B6AEA #EA5B6A #6AEA5B
tetradic
#5B6AEA #EA5BB1 #EADB5B #5BEA93
square
#5B6AEA #EA5BB1 #EADB5B #5BEA93
split-complementary
#5B6AEA #EA935B #B1EA5B
monochromatic
#1727B4 #2539E3 #5B6AEA #919BF1 #C8CDF8

Accessibility & contrast

On white

4.47
#5B6AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5B6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6AEA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6AEA#FFFFFF#000000##000000
##5B6AEA1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEE
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b6aea;
/* rgb */ color: rgb(91, 106, 234);
/* oklch */ color: oklch(58.2% 0.192 273.8);
Tailwind
colors: {
  custom: {
    50: '#9694f2',
    500: '#5b6aea',
    950: '#000000',
  },
}
SCSS
$custom: #5b6aea;
$custom-light: #9694f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6aea",
  "rgb": {
    "r": 91,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 233.706,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.1918,
    "h": 273.8
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#5B6AEA
secondary
#EAE4B7
accent
#C40CDA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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