#5C7FEE#5C7FEE

#5C7FEE is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.6% C 0.171 H 268.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5C7FEE
RGBrgb(92, 127, 238)
HSLhsl(226, 81%, 65%)
HSVhsv(226, 61%, 93%)
CMYKcmyk(61.3%, 46.6%, 0%, 6.7%)
CIE-LABlab(55.71, 21.33, -59.78)
CIE-LCHlch(55.71, 63.47, 289.63°)
OKLaboklab(62.59% -0.0058 -0.1709)
OKLCHoklch(62.59% 0.171 268)
XYZxyz(27.4304, 23.6247, 83.9868)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7FEE #EECB5C
analogous
#5CC8EE #5C7FEE #825CEE
triadic
#5C7FEE #EE5C7F #7FEE5C
tetradic
#5C7FEE #EE5CC8 #EECB5C #5CEE82
square
#5C7FEE #EE5CC8 #EECB5C #5CEE82
split-complementary
#5C7FEE #EE825C #C8EE5C
monochromatic
#143CBC #2553E8 #5C7FEE #93ABF4 #CBD6FA

Accessibility & contrast

On white

3.67
#5C7FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5C7FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7FEE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7FEE#FFFFFF#000000##000000
##5C7FEE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF2
Deuteranopia (green-blind)
#2E7FEC
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c7fee;
/* rgb */ color: rgb(92, 127, 238);
/* oklch */ color: oklch(62.6% 0.171 268.0);
Tailwind
colors: {
  custom: {
    50: '#97a3f4',
    500: '#5c7fee',
    950: '#000000',
  },
}
SCSS
$custom: #5c7fee;
$custom-light: #97a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7fee",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 225.616,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62587,
    "c": 0.17099,
    "h": 268
  },
  "luminance": 0.23627
}

Semantic roles & 50–950 ramp

primary
#5C7FEE
secondary
#ECE0BA
accent
#AA08DD
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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