#5A7AED#5A7AED

#5A7AED is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.176 H 269.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5A7AED
RGBrgb(90, 122, 237)
HSLhsl(227, 80%, 64%)
HSVhsv(227, 62%, 93%)
CMYKcmyk(62%, 48.5%, 0%, 7.1%)
CIE-LABlab(54.24, 23.69, -61.59)
CIE-LCHlch(54.24, 65.99, 291.04°)
OKLaboklab(61.42% -0.003 -0.1763)
OKLCHoklch(61.42% 0.176 269)
XYZxyz(26.4569, 22.2048, 82.9961)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7AED #EDCD5A
analogous
#5AC4ED #5A7AED #845AED
triadic
#5A7AED #ED5A7A #7AED5A
tetradic
#5A7AED #ED5AC4 #EDCD5A #5AED84
square
#5A7AED #ED5AC4 #EDCD5A #5AED84
split-complementary
#5A7AED #ED845A #C4ED5A
monochromatic
#1438B8 #234EE7 #5A7AED #91A6F3 #C8D3F9

Accessibility & contrast

On white

3.86
#5A7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5A7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7AED
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7AED#FFFFFF#000000##000000
##5A7AED1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F1
Deuteranopia (green-blind)
#1D7BEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a7aed;
/* rgb */ color: rgb(90, 122, 237);
/* oklch */ color: oklch(61.4% 0.176 269.0);
Tailwind
colors: {
  custom: {
    50: '#96a0f3',
    500: '#5a7aed',
    950: '#000000',
  },
}
SCSS
$custom: #5a7aed;
$custom-light: #96a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7aed",
  "rgb": {
    "r": 90,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 226.939,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.17633,
    "h": 269
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#5A7AED
secondary
#EBE0B8
accent
#AF09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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