#5A61EB#5A61EB

#5A61EB is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.6% C 0.204 H 275.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5A61EB
RGBrgb(90, 97, 235)
HSLhsl(237, 78%, 64%)
HSVhsv(237, 62%, 92%)
CMYKcmyk(61.7%, 58.7%, 0%, 7.8%)
CIE-LABlab(47.90, 38.29, -70.72)
CIE-LCHlch(47.90, 80.42, 298.43°)
OKLaboklab(56.62% 0.0197 -0.2034)
OKLCHoklch(56.62% 0.204 275.5)
XYZxyz(23.4816, 16.7193, 80.5709)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A61EB #EBE45A
analogous
#5AA9EB #5A61EB #9B5AEB
triadic
#5A61EB #EB5A61 #61EB5A
tetradic
#5A61EB #EB5AA9 #EBE45A #5AEB9B
square
#5A61EB #EB5AA9 #EBE45A #5AEB9B
split-complementary
#5A61EB #EB9B5A #A9EB5A
monochromatic
#161EB5 #232DE4 #5A61EB #9195F2 #C7CAF8

Accessibility & contrast

On white

4.83
#5A61EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5A61EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A61EB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A61EB#FFFFFF#000000##FFFFFF
##5A61EB1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a61eb;
/* rgb */ color: rgb(90, 97, 235);
/* oklch */ color: oklch(56.6% 0.204 275.5);
Tailwind
colors: {
  custom: {
    50: '#978ef2',
    500: '#5a61eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a61eb;
$custom-light: #978ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a61eb",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 237.103,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.20439,
    "h": 275.5
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#5A61EB
secondary
#EAE7B7
accent
#D10BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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