#5C7FE7#5C7FE7

#5C7FE7 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.1% C 0.162 H 267.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5C7FE7
RGBrgb(92, 127, 231)
HSLhsl(225, 74%, 63%)
HSVhsv(225, 60%, 91%)
CMYKcmyk(60.2%, 45%, 0%, 9.4%)
CIE-LABlab(55.30, 19.00, -56.54)
CIE-LCHlch(55.30, 59.64, 288.57°)
OKLaboklab(62.14% -0.0068 -0.1614)
OKLCHoklch(62.14% 0.162 267.6)
XYZxyz(26.4219, 23.2213, 78.6756)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7FE7 #E7C45C
analogous
#5CC4E7 #5C7FE7 #7E5CE7
triadic
#5C7FE7 #E75C7F #7FE75C
tetradic
#5C7FE7 #E75CC4 #E7C45C #5CE77E
square
#5C7FE7 #E75CC4 #E7C45C #5CE77E
split-complementary
#5C7FE7 #E77E5C #C4E75C
monochromatic
#1A3FAF #2755DF #5C7FE7 #91A9EF #C7D3F7

Accessibility & contrast

On white

3.72
#5C7FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5C7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7FE7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7FE7#FFFFFF#000000##000000
##5C7FE71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEB
Deuteranopia (green-blind)
#387FE5
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c7fe7;
/* rgb */ color: rgb(92, 127, 231);
/* oklch */ color: oklch(62.1% 0.162 267.6);
Tailwind
colors: {
  custom: {
    50: '#95a3ef',
    500: '#5c7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5c7fe7;
$custom-light: #95a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7fe7",
  "rgb": {
    "r": 92,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 224.892,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62142,
    "c": 0.16151,
    "h": 267.6
  },
  "luminance": 0.23224
}

Semantic roles & 50–950 ramp

primary
#5C7FE7
secondary
#E8DCB7
accent
#A40FD6
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5C7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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