#5C7DEB#5C7DEB

#5C7DEB is a mid, vivid blue. Relative luminance 0.229; OKLCH L 62.0% C 0.169 H 268.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5C7DEB
RGBrgb(92, 125, 235)
HSLhsl(226, 78%, 64%)
HSVhsv(226, 61%, 92%)
CMYKcmyk(60.9%, 46.8%, 0%, 7.8%)
CIE-LABlab(55.01, 21.54, -59.24)
CIE-LCHlch(55.01, 63.03, 289.99°)
OKLaboklab(62% -0.0043 -0.1693)
OKLCHoklch(62% 0.169 268.5)
XYZxyz(26.7376, 22.9384, 81.5997)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7DEB #EBCA5C
analogous
#5CC5EB #5C7DEB #835CEB
triadic
#5C7DEB #EB5C7D #7DEB5C
tetradic
#5C7DEB #EB5CC5 #EBCA5C #5CEB83
square
#5C7DEB #EB5CC5 #EBCA5C #5CEB83
split-complementary
#5C7DEB #EB835C #C5EB5C
monochromatic
#163BB6 #2552E4 #5C7DEB #93A8F2 #C9D4F8

Accessibility & contrast

On white

3.76
#5C7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5C7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7DEB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7DEB#FFFFFF#000000##000000
##5C7DEB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#2D7EE9
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c7deb;
/* rgb */ color: rgb(92, 125, 235);
/* oklch */ color: oklch(62.0% 0.169 268.5);
Tailwind
colors: {
  custom: {
    50: '#96a2f2',
    500: '#5c7deb',
    950: '#000000',
  },
}
SCSS
$custom: #5c7deb;
$custom-light: #96a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7deb",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 226.154,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.16936,
    "h": 268.5
  },
  "luminance": 0.22941
}

Semantic roles & 50–950 ramp

primary
#5C7DEB
secondary
#EADFB8
accent
#AB0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5C7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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