#5C7BEB#5C7BEB

#5C7BEB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.172 H 269.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5C7BEB
RGBrgb(92, 123, 235)
HSLhsl(227, 78%, 64%)
HSVhsv(227, 61%, 92%)
CMYKcmyk(60.9%, 47.7%, 0%, 7.8%)
CIE-LABlab(54.49, 22.76, -60.07)
CIE-LCHlch(54.49, 64.24, 290.75°)
OKLaboklab(61.6% -0.0023 -0.1718)
OKLCHoklch(61.6% 0.172 269.2)
XYZxyz(26.4869, 22.4371, 81.5161)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BEB #EBCC5C
analogous
#5CC3EB #5C7BEB #855CEB
triadic
#5C7BEB #EB5C7B #7BEB5C
tetradic
#5C7BEB #EB5CC3 #EBCC5C #5CEB85
square
#5C7BEB #EB5CC3 #EBCC5C #5CEB85
split-complementary
#5C7BEB #EB855C #C3EB5C
monochromatic
#1639B6 #254FE4 #5C7BEB #93A7F2 #C9D3F8

Accessibility & contrast

On white

3.83
#5C7BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5C7BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BEB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BEB#FFFFFF#000000##000000
##5C7BEB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c7beb;
/* rgb */ color: rgb(92, 123, 235);
/* oklch */ color: oklch(61.6% 0.172 269.2);
Tailwind
colors: {
  custom: {
    50: '#96a0f2',
    500: '#5c7beb',
    950: '#000000',
  },
}
SCSS
$custom: #5c7beb;
$custom-light: #96a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7beb",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 226.993,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.17182,
    "h": 269.2
  },
  "luminance": 0.22439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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