#5A61CA#5A61CA

#5A61CA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.160 H 276.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5A61CA
RGBrgb(90, 97, 202)
HSLhsl(236, 51%, 57%)
HSVhsv(236, 55%, 79%)
CMYKcmyk(55.4%, 52%, 0%, 20.8%)
CIE-LABlab(45.62, 27.53, -55.66)
CIE-LCHlch(45.62, 62.10, 296.32°)
OKLaboklab(54.19% 0.0189 -0.1591)
OKLCHoklch(54.19% 0.16 276.8)
XYZxyz(19.1484, 14.9860, 57.7492)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A61CA #CAC35A
analogous
#5A99CA #5A61CA #8B5ACA
triadic
#5A61CA #CA5A61 #61CA5A
tetradic
#5A61CA #CA5A99 #CAC35A #5ACA8B
square
#5A61CA #CA5A99 #CAC35A #5ACA8B
split-complementary
#5A61CA #CA8B5A #99CA5A
monochromatic
#292F80 #3840AF #5A61CA #888DD9 #B7BAE8

Accessibility & contrast

On white

5.25
#5A61CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5A61CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A61CA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A61CA#FFFFFF#000000##FFFFFF
##5A61CA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#1F798C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a61ca;
/* rgb */ color: rgb(90, 97, 202);
/* oklch */ color: oklch(54.2% 0.160 276.8);
Tailwind
colors: {
  custom: {
    50: '#918ddb',
    500: '#5a61ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a61ca;
$custom-light: #918ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a61ca",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 236.25,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.16025,
    "h": 276.8
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#5A61CA
secondary
#D7D4A9
accent
#D24DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A61CA

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

Preview Lab → · Contrast checker → · Palette generator →

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