#5A6AEB#5A6AEB

#5A6AEB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.193 H 273.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5A6AEB
RGBrgb(90, 106, 235)
HSLhsl(233, 78%, 64%)
HSVhsv(233, 62%, 92%)
CMYKcmyk(61.7%, 54.9%, 0%, 7.8%)
CIE-LABlab(50.07, 32.82, -67.20)
CIE-LCHlch(50.07, 74.79, 296.03°)
OKLaboklab(58.24% 0.0117 -0.193)
OKLCHoklch(58.24% 0.193 273.5)
XYZxyz(24.3609, 18.4779, 80.8640)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6AEB #EBDB5A
analogous
#5AB2EB #5A6AEB #925AEB
triadic
#5A6AEB #EB5A6A #6AEB5A
tetradic
#5A6AEB #EB5AB2 #EBDB5A #5AEB92
square
#5A6AEB #EB5AB2 #EBDB5A #5AEB92
split-complementary
#5A6AEB #EB925A #B2EB5A
monochromatic
#1627B5 #2339E4 #5A6AEB #919BF2 #C7CDF8

Accessibility & contrast

On white

4.47
#5A6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5A6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6AEB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6AEB#FFFFFF#000000##000000
##5A6AEB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6aeb;
/* rgb */ color: rgb(90, 106, 235);
/* oklch */ color: oklch(58.2% 0.193 273.5);
Tailwind
colors: {
  custom: {
    50: '#9694f2',
    500: '#5a6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5a6aeb;
$custom-light: #9694f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6aeb",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 233.379,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.19338,
    "h": 273.5
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#5A6AEB
secondary
#EAE4B7
accent
#C40BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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