#5B5AE0#5B5AE0

#5B5AE0 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.198 H 277.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5B5AE0
RGBrgb(91, 90, 224)
HSLhsl(240, 68%, 62%)
HSVhsv(240, 60%, 88%)
CMYKcmyk(59.4%, 59.8%, 0%, 12.2%)
CIE-LABlab(45.52, 39.10, -68.38)
CIE-LCHlch(45.52, 78.77, 299.76°)
OKLaboklab(54.63% 0.0273 -0.1966)
OKLCHoklch(54.63% 0.198 277.9)
XYZxyz(21.4208, 14.9167, 72.2570)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5AE0 #DFE05A
analogous
#5A9CE0 #5B5AE0 #9E5AE0
triadic
#5B5AE0 #E05B5A #5AE05B
tetradic
#5B5AE0 #E05A9C #DFE05A #5AE09E
square
#5B5AE0 #E05A9C #DFE05A #5AE09E
split-complementary
#5B5AE0 #E09E5A #9CE05A
monochromatic
#1F1EA1 #2928D5 #5B5AE0 #8E8EEA #C1C1F3

Accessibility & contrast

On white

5.27
#5B5AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5B5AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5AE0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5AE0#FFFFFF#000000##FFFFFF
##5B5AE01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b5ae0;
/* rgb */ color: rgb(91, 90, 224);
/* oklch */ color: oklch(54.6% 0.198 277.9);
Tailwind
colors: {
  custom: {
    50: '#9689eb',
    500: '#5b5ae0',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ae0;
$custom-light: #9689eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ae0",
  "rgb": {
    "r": 91,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 240.448,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.19847,
    "h": 277.9
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#5B5AE0
secondary
#E3E4B2
accent
#D015CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B5AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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