#5C7DEC#5C7DEC

#5C7DEC is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.1% C 0.171 H 268.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5C7DEC
RGBrgb(92, 125, 236)
HSLhsl(226, 79%, 64%)
HSVhsv(226, 61%, 93%)
CMYKcmyk(61%, 47%, 0%, 7.5%)
CIE-LABlab(55.07, 21.88, -59.70)
CIE-LCHlch(55.07, 63.58, 290.12°)
OKLaboklab(62.06% -0.0042 -0.1707)
OKLCHoklch(62.06% 0.171 268.6)
XYZxyz(26.8824, 22.9964, 82.3627)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7DEC #ECCB5C
analogous
#5CC5EC #5C7DEC #835CEC
triadic
#5C7DEC #EC5C7D #7DEC5C
tetradic
#5C7DEC #EC5CC5 #ECCB5C #5CEC83
square
#5C7DEC #EC5CC5 #ECCB5C #5CEC83
split-complementary
#5C7DEC #EC835C #C5EC5C
monochromatic
#153BB8 #2551E6 #5C7DEC #93A9F2 #CAD4F9

Accessibility & contrast

On white

3.75
#5C7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5C7DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7DEC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7DEC#FFFFFF#000000##000000
##5C7DEC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF0
Deuteranopia (green-blind)
#2B7EEA
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c7dec;
/* rgb */ color: rgb(92, 125, 236);
/* oklch */ color: oklch(62.1% 0.171 268.6);
Tailwind
colors: {
  custom: {
    50: '#96a2f3',
    500: '#5c7dec',
    950: '#000000',
  },
}
SCSS
$custom: #5c7dec;
$custom-light: #96a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7dec",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 226.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6206,
    "c": 0.17072,
    "h": 268.6
  },
  "luminance": 0.22999
}

Semantic roles & 50–950 ramp

primary
#5C7DEC
secondary
#EBDFB9
accent
#AB0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5C7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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