#5A61EA#5A61EA

#5A61EA is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.5% C 0.203 H 275.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5A61EA
RGBrgb(90, 97, 234)
HSLhsl(237, 77%, 64%)
HSVhsv(237, 62%, 92%)
CMYKcmyk(61.5%, 58.5%, 0%, 8.2%)
CIE-LABlab(47.83, 37.96, -70.28)
CIE-LCHlch(47.83, 79.87, 298.38°)
OKLaboklab(56.55% 0.0197 -0.2021)
OKLCHoklch(56.55% 0.203 275.6)
XYZxyz(23.3376, 16.6617, 79.8121)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A61EA #EAE35A
analogous
#5AA9EA #5A61EA #9B5AEA
triadic
#5A61EA #EA5A61 #61EA5A
tetradic
#5A61EA #EA5AA9 #EAE35A #5AEA9B
square
#5A61EA #EA5AA9 #EAE35A #5AEA9B
split-complementary
#5A61EA #EA9B5A #A9EA5A
monochromatic
#171EB3 #242DE3 #5A61EA #9095F1 #C7C9F8

Accessibility & contrast

On white

4.85
#5A61EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5A61EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A61EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A61EA#FFFFFF#000000##FFFFFF
##5A61EA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a61ea;
/* rgb */ color: rgb(90, 97, 234);
/* oklch */ color: oklch(56.5% 0.203 275.6);
Tailwind
colors: {
  custom: {
    50: '#968ef2',
    500: '#5a61ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a61ea;
$custom-light: #968ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a61ea",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 237.083,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56547,
    "c": 0.2031,
    "h": 275.6
  },
  "luminance": 0.16664
}

Semantic roles & 50–950 ramp

primary
#5A61EA
secondary
#E9E7B6
accent
#D00CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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