#5C61CA#5C61CA

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

Color values

HEX#5C61CA
RGBrgb(92, 97, 202)
HSLhsl(237, 51%, 58%)
HSVhsv(237, 54%, 79%)
CMYKcmyk(54.5%, 52%, 0%, 20.8%)
CIE-LABlab(45.75, 27.93, -55.43)
CIE-LCHlch(45.75, 62.07, 296.75°)
OKLaboklab(54.33% 0.0212 -0.1584)
OKLCHoklch(54.33% 0.16 277.6)
XYZxyz(19.3456, 15.0877, 57.7585)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C61CA #CAC55C
analogous
#5C98CA #5C61CA #8E5CCA
triadic
#5C61CA #CA5C61 #61CA5C
tetradic
#5C61CA #CA5C98 #CAC55C #5CCA8E
square
#5C61CA #CA5C98 #CAC55C #5CCA8E
split-complementary
#5C61CA #CA8E5C #98CA5C
monochromatic
#2A2E81 #393FB0 #5C61CA #8A8ED9 #B8BBE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C61CA#FFFFFF#000000##FFFFFF
##5C61CA1.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)
#2871CE
Deuteranopia (green-blind)
#1568C8
Tritanopia (blue-blind)
#26798C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c61ca;
/* rgb */ color: rgb(92, 97, 202);
/* oklch */ color: oklch(54.3% 0.160 277.6);
Tailwind
colors: {
  custom: {
    50: '#928ddb',
    500: '#5c61ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c61ca;
$custom-light: #928ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c61ca",
  "rgb": {
    "r": 92,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 237.273,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.15982,
    "h": 277.6
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#5C61CA
secondary
#D7D5AB
accent
#D44DDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5C61CA

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

Preview Lab → · Contrast checker → · Palette generator →

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