#5A5BE9#5A5BE9

#5A5BE9 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.4% C 0.209 H 276.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5A5BE9
RGBrgb(90, 91, 233)
HSLhsl(240, 76%, 63%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(61.4%, 60.9%, 0%, 8.6%)
CIE-LABlab(46.36, 41.24, -72.10)
CIE-LCHlch(46.36, 83.06, 299.77°)
OKLaboklab(55.44% 0.0249 -0.2076)
OKLCHoklch(55.44% 0.209 276.8)
XYZxyz(22.6607, 15.5372, 78.8798)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5BE9 #E9E85A
analogous
#5AA3E9 #5A5BE9 #A05AE9
triadic
#5A5BE9 #E95A5B #5BE95A
tetradic
#5A5BE9 #E95AA3 #E9E85A #5AE9A0
square
#5A5BE9 #E95AA3 #E9E85A #5AE9A0
split-complementary
#5A5BE9 #E9A05A #A3E95A
monochromatic
#1819B1 #2425E2 #5A5BE9 #9091F0 #C6C6F7

Accessibility & contrast

On white

5.11
#5A5BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5A5BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5BE9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5BE9#FFFFFF#000000##FFFFFF
##5A5BE91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a5be9;
/* rgb */ color: rgb(90, 91, 233);
/* oklch */ color: oklch(55.4% 0.209 276.8);
Tailwind
colors: {
  custom: {
    50: '#978af1',
    500: '#5a5be9',
    950: '#000000',
  },
}
SCSS
$custom: #5a5be9;
$custom-light: #978af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5be9",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 239.58,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.20904,
    "h": 276.8
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#5A5BE9
secondary
#E9E9B6
accent
#D70DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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