#5C7FEC#5C7FEC

#5C7FEC is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.5% C 0.168 H 267.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5C7FEC
RGBrgb(92, 127, 236)
HSLhsl(225, 79%, 64%)
HSVhsv(225, 61%, 93%)
CMYKcmyk(61%, 46.2%, 0%, 7.5%)
CIE-LABlab(55.59, 20.66, -58.86)
CIE-LCHlch(55.59, 62.38, 289.34°)
OKLaboklab(62.46% -0.0061 -0.1682)
OKLCHoklch(62.46% 0.168 267.9)
XYZxyz(27.1382, 23.5079, 82.4480)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7FEC #ECC95C
analogous
#5CC7EC #5C7FEC #815CEC
triadic
#5C7FEC #EC5C7F #7FEC5C
tetradic
#5C7FEC #EC5CC7 #ECC95C #5CEC81
square
#5C7FEC #EC5CC7 #ECC95C #5CEC81
split-complementary
#5C7FEC #EC815C #C7EC5C
monochromatic
#153DB8 #2554E6 #5C7FEC #93AAF2 #CAD5F9

Accessibility & contrast

On white

3.68
#5C7FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5C7FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7FEC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7FEC#FFFFFF#000000##000000
##5C7FEC1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c7fec;
/* rgb */ color: rgb(92, 127, 236);
/* oklch */ color: oklch(62.5% 0.168 267.9);
Tailwind
colors: {
  custom: {
    50: '#96a3f3',
    500: '#5c7fec',
    950: '#000000',
  },
}
SCSS
$custom: #5c7fec;
$custom-light: #96a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7fec",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 225.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62459,
    "c": 0.16829,
    "h": 267.9
  },
  "luminance": 0.2351
}

Semantic roles & 50–950 ramp

primary
#5C7FEC
secondary
#EBDFB9
accent
#A90ADB
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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