#5A61CC#5A61CC

#5A61CC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.163 H 276.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5A61CC
RGBrgb(90, 97, 204)
HSLhsl(236, 53%, 58%)
HSVhsv(236, 56%, 80%)
CMYKcmyk(55.9%, 52.5%, 0%, 20%)
CIE-LABlab(45.75, 28.18, -56.60)
CIE-LCHlch(45.75, 63.23, 296.47°)
OKLaboklab(54.33% 0.019 -0.1619)
OKLCHoklch(54.33% 0.163 276.7)
XYZxyz(19.3867, 15.0813, 59.0044)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A61CC #CCC55A
analogous
#5A9ACC #5A61CC #8C5ACC
triadic
#5A61CC #CC5A61 #61CC5A
tetradic
#5A61CC #CC5A9A #CCC55A #5ACC8C
square
#5A61CC #CC5A9A #CCC55A #5ACC8C
split-complementary
#5A61CC #CC8C5A #9ACC5A
monochromatic
#292E83 #373FB2 #5A61CC #898EDA #B7BBE9

Accessibility & contrast

On white

5.23
#5A61CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5A61CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A61CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A61CC#FFFFFF#000000##FFFFFF
##5A61CC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471D0
Deuteranopia (green-blind)
#0968CA
Tritanopia (blue-blind)
#1B798D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a61cc;
/* rgb */ color: rgb(90, 97, 204);
/* oklch */ color: oklch(54.3% 0.163 276.7);
Tailwind
colors: {
  custom: {
    50: '#928ddc',
    500: '#5a61cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a61cc;
$custom-light: #928ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a61cc",
  "rgb": {
    "r": 90,
    "g": 97,
    "b": 204
  },
  "hsl": {
    "h": 236.316,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.16302,
    "h": 276.7
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#5A61CC
secondary
#D8D5AA
accent
#D34CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A61CC

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

Preview Lab → · Contrast checker → · Palette generator →

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