#5A61ED#5A61ED

#5A61ED is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.207 H 275.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5A61ED
RGBrgb(90, 97, 237)
HSLhsl(237, 80%, 64%)
HSVhsv(237, 62%, 93%)
CMYKcmyk(62%, 59.1%, 0%, 7.1%)
CIE-LABlab(48.05, 38.94, -71.60)
CIE-LCHlch(48.05, 81.51, 298.54°)
OKLaboklab(56.78% 0.0197 -0.206)
OKLCHoklch(56.78% 0.207 275.4)
XYZxyz(23.7722, 16.8355, 82.1012)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A61ED #EDE65A
analogous
#5AABED #5A61ED #9D5AED
triadic
#5A61ED #ED5A61 #61ED5A
tetradic
#5A61ED #ED5AAB #EDE65A #5AED9D
square
#5A61ED #ED5AAB #EDE65A #5AED9D
split-complementary
#5A61ED #ED9D5A #ABED5A
monochromatic
#141CB8 #232CE7 #5A61ED #9196F3 #C8CBF9

Accessibility & contrast

On white

4.81
#5A61ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5A61ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A61ED
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A61ED#FFFFFF#000000##FFFFFF
##5A61ED1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a61ed;
/* rgb */ color: rgb(90, 97, 237);
/* oklch */ color: oklch(56.8% 0.207 275.4);
Tailwind
colors: {
  custom: {
    50: '#978ef4',
    500: '#5a61ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a61ed;
$custom-light: #978ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a61ed",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 237
  },
  "hsl": {
    "h": 237.143,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.20697,
    "h": 275.4
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#5A61ED
secondary
#EBE9B8
accent
#D309DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A61ED

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

Preview Lab → · Contrast checker → · Palette generator →

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