#5C7FEF#5C7FEF

#5C7FEF is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.7% C 0.172 H 268.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5C7FEF
RGBrgb(92, 127, 239)
HSLhsl(226, 82%, 65%)
HSVhsv(226, 62%, 94%)
CMYKcmyk(61.5%, 46.9%, 0%, 6.3%)
CIE-LABlab(55.77, 21.66, -60.24)
CIE-LCHlch(55.77, 64.02, 289.78°)
OKLaboklab(62.65% -0.0057 -0.1722)
OKLCHoklch(62.65% 0.172 268.1)
XYZxyz(27.5777, 23.6837, 84.7627)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7FEF #EFCC5C
analogous
#5CC9EF #5C7FEF #825CEF
triadic
#5C7FEF #EF5C7F #7FEF5C
tetradic
#5C7FEF #EF5CC9 #EFCC5C #5CEF82
square
#5C7FEF #EF5CC9 #EFCC5C #5CEF82
split-complementary
#5C7FEF #EF825C #C9EF5C
monochromatic
#133BBE #2453EA #5C7FEF #94ABF4 #CBD7FA

Accessibility & contrast

On white

3.66
#5C7FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5C7FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7FEF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7FEF#FFFFFF#000000##000000
##5C7FEF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#2C7FED
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c7fef;
/* rgb */ color: rgb(92, 127, 239);
/* oklch */ color: oklch(62.7% 0.172 268.1);
Tailwind
colors: {
  custom: {
    50: '#97a3f5',
    500: '#5c7fef',
    950: '#000000',
  },
}
SCSS
$custom: #5c7fef;
$custom-light: #97a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7fef",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 225.714,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62652,
    "c": 0.17234,
    "h": 268.1
  },
  "luminance": 0.23686
}

Semantic roles & 50–950 ramp

primary
#5C7FEF
secondary
#ECE1BA
accent
#AB07DF
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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