#5A6BE5#5A6BE5

#5A6BE5 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.0% C 0.184 H 273.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5A6BE5
RGBrgb(90, 107, 229)
HSLhsl(233, 73%, 63%)
HSVhsv(233, 61%, 90%)
CMYKcmyk(60.7%, 53.3%, 0%, 10.2%)
CIE-LABlab(49.91, 30.22, -64.09)
CIE-LCHlch(49.91, 70.86, 295.24°)
OKLaboklab(57.99% 0.0105 -0.1839)
OKLCHoklch(57.99% 0.184 273.3)
XYZxyz(23.6123, 18.3443, 76.4100)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6BE5 #E5D45A
analogous
#5AB0E5 #5A6BE5 #8F5AE5
triadic
#5A6BE5 #E55A6B #6BE55A
tetradic
#5A6BE5 #E55AB0 #E5D45A #5AE58F
square
#5A6BE5 #E55AB0 #E5D45A #5AE58F
split-complementary
#5A6BE5 #E58F5A #B0E55A
monochromatic
#1B2CAA #253CDD #5A6BE5 #8F9AED #C4CAF6

Accessibility & contrast

On white

4.50
#5A6BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5A6BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6BE5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6BE5#FFFFFF#000000##000000
##5A6BE51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#197DE9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6be5;
/* rgb */ color: rgb(90, 107, 229);
/* oklch */ color: oklch(58.0% 0.184 273.3);
Tailwind
colors: {
  custom: {
    50: '#9595ee',
    500: '#5a6be5',
    950: '#000000',
  },
}
SCSS
$custom: #5a6be5;
$custom-light: #9595ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6be5",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 232.662,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.18415,
    "h": 273.3
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#5A6BE5
secondary
#E7E0B4
accent
#BD11D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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