#5A6AEE#5A6AEE

#5A6AEE is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.5% C 0.197 H 273.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5A6AEE
RGBrgb(90, 106, 238)
HSLhsl(234, 81%, 64%)
HSVhsv(234, 62%, 93%)
CMYKcmyk(62.2%, 55.5%, 0%, 6.7%)
CIE-LABlab(50.28, 33.81, -68.55)
CIE-LCHlch(50.28, 76.43, 296.26°)
OKLaboklab(58.46% 0.0118 -0.197)
OKLCHoklch(58.46% 0.197 273.4)
XYZxyz(24.7980, 18.6527, 83.1659)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6AEE #EEDE5A
analogous
#5AB4EE #5A6AEE #945AEE
triadic
#5A6AEE #EE5A6A #6AEE5A
tetradic
#5A6AEE #EE5AB4 #EEDE5A #5AEE94
square
#5A6AEE #EE5AB4 #EEDE5A #5AEE94
split-complementary
#5A6AEE #EE945A #B4EE5A
monochromatic
#1325BA #2338E8 #5A6AEE #919CF4 #C9CEF9

Accessibility & contrast

On white

4.44
#5A6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5A6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6AEE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6AEE#FFFFFF#000000##000000
##5A6AEE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6aee;
/* rgb */ color: rgb(90, 106, 238);
/* oklch */ color: oklch(58.5% 0.197 273.4);
Tailwind
colors: {
  custom: {
    50: '#9794f4',
    500: '#5a6aee',
    950: '#000000',
  },
}
SCSS
$custom: #5a6aee;
$custom-light: #9794f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6aee",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 233.514,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.19732,
    "h": 273.4
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

primary
#5A6AEE
secondary
#ECE6B8
accent
#C708DE
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5A6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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