#5C7DE8#5C7DE8

#5C7DE8 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.8% C 0.165 H 268.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5C7DE8
RGBrgb(92, 125, 232)
HSLhsl(226, 75%, 64%)
HSVhsv(226, 60%, 91%)
CMYKcmyk(60.3%, 46.1%, 0%, 9%)
CIE-LABlab(54.83, 20.54, -57.85)
CIE-LCHlch(54.83, 61.39, 289.55°)
OKLaboklab(61.8% -0.0047 -0.1652)
OKLCHoklch(61.8% 0.165 268.4)
XYZxyz(26.3078, 22.7665, 79.3363)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7DE8 #E8C75C
analogous
#5CC3E8 #5C7DE8 #815CE8
triadic
#5C7DE8 #E85C7D #7DE85C
tetradic
#5C7DE8 #E85CC3 #E8C75C #5CE881
square
#5C7DE8 #E85CC3 #E8C75C #5CE881
split-complementary
#5C7DE8 #E8815C #C3E85C
monochromatic
#193DB1 #2652E0 #5C7DE8 #92A8F0 #C7D3F7

Accessibility & contrast

On white

3.78
#5C7DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5C7DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7DE8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7DE8#FFFFFF#000000##000000
##5C7DE81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498AEC
Deuteranopia (green-blind)
#327DE6
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c7de8;
/* rgb */ color: rgb(92, 125, 232);
/* oklch */ color: oklch(61.8% 0.165 268.4);
Tailwind
colors: {
  custom: {
    50: '#96a2f0',
    500: '#5c7de8',
    950: '#000000',
  },
}
SCSS
$custom: #5c7de8;
$custom-light: #96a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7de8",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 225.857,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.1653,
    "h": 268.4
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#5C7DE8
secondary
#E9DDB7
accent
#A80ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #5C7DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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