#5C61EB#5C61EB

#5C61EB is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.204 H 276.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5C61EB
RGBrgb(92, 97, 235)
HSLhsl(238, 78%, 64%)
HSVhsv(238, 61%, 92%)
CMYKcmyk(60.9%, 58.7%, 0%, 7.8%)
CIE-LABlab(48.03, 38.61, -70.50)
CIE-LCHlch(48.03, 80.38, 298.70°)
OKLaboklab(56.75% 0.0219 -0.2028)
OKLCHoklch(56.75% 0.204 276.2)
XYZxyz(23.6788, 16.8210, 80.5801)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C61EB #EBE65C
analogous
#5CA9EB #5C61EB #9F5CEB
triadic
#5C61EB #EB5C61 #61EB5C
tetradic
#5C61EB #EB5CA9 #EBE65C #5CEB9F
square
#5C61EB #EB5CA9 #EBE65C #5CEB9F
split-complementary
#5C61EB #EB9F5C #A9EB5C
monochromatic
#161CB6 #252CE4 #5C61EB #9396F2 #C9CBF8

Accessibility & contrast

On white

4.81
#5C61EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5C61EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C61EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C61EB#FFFFFF#000000##FFFFFF
##5C61EB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c61eb;
/* rgb */ color: rgb(92, 97, 235);
/* oklch */ color: oklch(56.8% 0.204 276.2);
Tailwind
colors: {
  custom: {
    50: '#988ef2',
    500: '#5c61eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c61eb;
$custom-light: #988ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c61eb",
  "rgb": {
    "r": 92,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 237.902,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.20394,
    "h": 276.2
  },
  "luminance": 0.16823
}

Semantic roles & 50–950 ramp

primary
#5C61EB
secondary
#EAE9B8
accent
#D30BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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