#5A5BED#5A5BED

#5A5BED is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.214 H 276.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5A5BED
RGBrgb(90, 91, 237)
HSLhsl(240, 80%, 64%)
HSVhsv(240, 62%, 93%)
CMYKcmyk(62%, 61.6%, 0%, 7.1%)
CIE-LABlab(46.67, 42.53, -73.86)
CIE-LCHlch(46.67, 85.22, 299.93°)
OKLaboklab(55.76% 0.0247 -0.2127)
OKLCHoklch(55.76% 0.214 276.6)
XYZxyz(23.2386, 15.7684, 81.9233)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5BED #EDEC5A
analogous
#5AA5ED #5A5BED #A35AED
triadic
#5A5BED #ED5A5B #5BED5A
tetradic
#5A5BED #ED5AA5 #EDEC5A #5AEDA3
square
#5A5BED #ED5AA5 #EDEC5A #5AEDA3
split-complementary
#5A5BED #EDA35A #A5ED5A
monochromatic
#1415B8 #2324E7 #5A5BED #9192F3 #C8C9F9

Accessibility & contrast

On white

5.06
#5A5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5A5BED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5BED
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5BED#FFFFFF#000000##FFFFFF
##5A5BED1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a5bed;
/* rgb */ color: rgb(90, 91, 237);
/* oklch */ color: oklch(55.8% 0.214 276.6);
Tailwind
colors: {
  custom: {
    50: '#978af4',
    500: '#5a5bed',
    950: '#000000',
  },
}
SCSS
$custom: #5a5bed;
$custom-light: #978af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5bed",
  "rgb": {
    "r": 90,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 239.592,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.21413,
    "h": 276.6
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

primary
#5A5BED
secondary
#EBEBB8
accent
#DB09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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