#5B61EA#5B61EA

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

Color values

HEX#5B61EA
RGBrgb(91, 97, 234)
HSLhsl(237, 77%, 64%)
HSVhsv(237, 61%, 92%)
CMYKcmyk(61.1%, 58.5%, 0%, 8.2%)
CIE-LABlab(47.90, 38.12, -70.17)
CIE-LCHlch(47.90, 79.85, 298.51°)
OKLaboklab(56.61% 0.0208 -0.2018)
OKLCHoklch(56.61% 0.203 275.9)
XYZxyz(23.4355, 16.7122, 79.8167)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61EA #EAE45B
analogous
#5BA8EA #5B61EA #9C5BEA
triadic
#5B61EA #EA5B61 #61EA5B
tetradic
#5B61EA #EA5BA8 #EAE45B #5BEA9C
square
#5B61EA #EA5BA8 #EAE45B #5BEA9C
split-complementary
#5B61EA #EA9C5B #A8EA5B
monochromatic
#171EB4 #252DE3 #5B61EA #9195F1 #C8CAF8

Accessibility & contrast

On white

4.84
#5B61EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B61EA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61EA#FFFFFF#000000##FFFFFF
##5B61EA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b61ea;
/* rgb */ color: rgb(91, 97, 234);
/* oklch */ color: oklch(56.6% 0.203 275.9);
Tailwind
colors: {
  custom: {
    50: '#978ef2',
    500: '#5b61ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b61ea;
$custom-light: #978ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61ea",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 237.483,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.20287,
    "h": 275.9
  },
  "luminance": 0.16714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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