#5C7BF1#5C7BF1

#5C7BF1 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.180 H 269.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5C7BF1
RGBrgb(92, 123, 241)
HSLhsl(228, 84%, 65%)
HSVhsv(228, 62%, 95%)
CMYKcmyk(61.8%, 49%, 0%, 5.5%)
CIE-LABlab(54.86, 24.76, -62.82)
CIE-LCHlch(54.86, 67.53, 291.51°)
OKLaboklab(62% -0.0016 -0.1799)
OKLCHoklch(62% 0.18 269.5)
XYZxyz(27.3684, 22.7897, 86.1586)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BF1 #F1D25C
analogous
#5CC5F1 #5C7BF1 #885CF1
triadic
#5C7BF1 #F15C7B #7BF15C
tetradic
#5C7BF1 #F15CC5 #F1D25C #5CF188
square
#5C7BF1 #F15CC5 #F1D25C #5CF188
split-complementary
#5C7BF1 #F1885C #C5F15C
monochromatic
#1136C2 #244DEC #5C7BF1 #94A9F6 #CDD6FB

Accessibility & contrast

On white

3.78
#5C7BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5C7BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BF1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BF1#FFFFFF#000000##000000
##5C7BF11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8AF5
Deuteranopia (green-blind)
#187DEF
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c7bf1;
/* rgb */ color: rgb(92, 123, 241);
/* oklch */ color: oklch(62.0% 0.180 269.5);
Tailwind
colors: {
  custom: {
    50: '#97a0f6',
    500: '#5c7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bf1;
$custom-light: #97a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bf1",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 227.517,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.1799,
    "h": 269.5
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#5C7BF1
secondary
#EEE3BB
accent
#B305E1
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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