#5C7AEB#5C7AEB

#5C7AEB is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.173 H 269.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5C7AEB
RGBrgb(92, 122, 235)
HSLhsl(227, 78%, 64%)
HSVhsv(227, 61%, 92%)
CMYKcmyk(60.9%, 48.1%, 0%, 7.8%)
CIE-LABlab(54.23, 23.37, -60.49)
CIE-LCHlch(54.23, 64.85, 291.13°)
OKLaboklab(61.4% -0.0013 -0.173)
OKLCHoklch(61.4% 0.173 269.6)
XYZxyz(26.3635, 22.1903, 81.4750)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AEB #EBCD5C
analogous
#5CC1EB #5C7AEB #865CEB
triadic
#5C7AEB #EB5C7A #7AEB5C
tetradic
#5C7AEB #EB5CC1 #EBCD5C #5CEB86
square
#5C7AEB #EB5CC1 #EBCD5C #5CEB86
split-complementary
#5C7AEB #EB865C #C1EB5C
monochromatic
#1638B6 #254EE4 #5C7AEB #93A6F2 #C9D3F8

Accessibility & contrast

On white

3.86
#5C7AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5C7AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AEB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AEB#FFFFFF#000000##000000
##5C7AEB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EF
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c7aeb;
/* rgb */ color: rgb(92, 122, 235);
/* oklch */ color: oklch(61.4% 0.173 269.6);
Tailwind
colors: {
  custom: {
    50: '#96a0f2',
    500: '#5c7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5c7aeb;
$custom-light: #96a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7aeb",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 227.413,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.17305,
    "h": 269.6
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#5C7AEB
secondary
#EAE0B8
accent
#AF0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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