#5C7BF2#5C7BF2

#5C7BF2 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.1% C 0.181 H 269.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5C7BF2
RGBrgb(92, 123, 242)
HSLhsl(228, 85%, 65%)
HSVhsv(228, 62%, 95%)
CMYKcmyk(62%, 49.2%, 0%, 5.1%)
CIE-LABlab(54.92, 25.10, -63.28)
CIE-LCHlch(54.92, 68.07, 291.63°)
OKLaboklab(62.06% -0.0015 -0.1812)
OKLCHoklch(62.06% 0.181 269.5)
XYZxyz(27.5182, 22.8496, 86.9474)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7BF2 #F2D35C
analogous
#5CC6F2 #5C7BF2 #885CF2
triadic
#5C7BF2 #F25C7B #7BF25C
tetradic
#5C7BF2 #F25CC6 #F2D35C #5CF288
square
#5C7BF2 #F25CC6 #F2D35C #5CF288
split-complementary
#5C7BF2 #F2885C #C6F25C
monochromatic
#1035C4 #234DED #5C7BF2 #95A9F7 #CDD7FB

Accessibility & contrast

On white

3.77
#5C7BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5C7BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7BF2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7BF2#FFFFFF#000000##000000
##5C7BF21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#157DF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c7bf2;
/* rgb */ color: rgb(92, 123, 242);
/* oklch */ color: oklch(62.1% 0.181 269.5);
Tailwind
colors: {
  custom: {
    50: '#97a0f7',
    500: '#5c7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5c7bf2;
$custom-light: #97a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7bf2",
  "rgb": {
    "r": 92,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 227.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62062,
    "c": 0.18124,
    "h": 269.5
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

primary
#5C7BF2
secondary
#EEE4BC
accent
#B404E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5C7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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