#5A5BE0#5A5BE0

#5A5BE0 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.7% C 0.197 H 277.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A5BE0
RGBrgb(90, 91, 224)
HSLhsl(240, 68%, 62%)
HSVhsv(240, 60%, 88%)
CMYKcmyk(59.8%, 59.4%, 0%, 12.2%)
CIE-LABlab(45.68, 38.34, -68.12)
CIE-LCHlch(45.68, 78.17, 299.37°)
OKLaboklab(54.73% 0.0252 -0.1958)
OKLCHoklch(54.73% 0.197 277.3)
XYZxyz(21.4077, 15.0360, 72.2807)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5BE0 #E0DF5A
analogous
#5A9EE0 #5A5BE0 #9C5AE0
triadic
#5A5BE0 #E05A5B #5BE05A
tetradic
#5A5BE0 #E05A9E #E0DF5A #5AE09C
square
#5A5BE0 #E05A9E #E0DF5A #5AE09C
split-complementary
#5A5BE0 #E09C5A #9EE05A
monochromatic
#1E1FA1 #2829D5 #5A5BE0 #8E8EEA #C1C1F3

Accessibility & contrast

On white

5.24
#5A5BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5A5BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5BE0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5BE0#FFFFFF#000000##FFFFFF
##5A5BE01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a5be0;
/* rgb */ color: rgb(90, 91, 224);
/* oklch */ color: oklch(54.7% 0.197 277.3);
Tailwind
colors: {
  custom: {
    50: '#9589eb',
    500: '#5a5be0',
    950: '#000000',
  },
}
SCSS
$custom: #5a5be0;
$custom-light: #9589eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5be0",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 224
  },
  "hsl": {
    "h": 239.552,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.19746,
    "h": 277.3
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#5A5BE0
secondary
#E4E3B2
accent
#CF15D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A5BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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