#5C7AF2#5C7AF2

#5C7AF2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.182 H 269.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5C7AF2
RGBrgb(92, 122, 242)
HSLhsl(228, 85%, 65%)
HSVhsv(228, 62%, 95%)
CMYKcmyk(62%, 49.6%, 0%, 5.1%)
CIE-LABlab(54.66, 25.71, -63.69)
CIE-LCHlch(54.66, 68.68, 291.98°)
OKLaboklab(61.87% -0.0006 -0.1825)
OKLCHoklch(61.87% 0.182 269.8)
XYZxyz(27.3948, 22.6028, 86.9063)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AF2 #F2D45C
analogous
#5CC5F2 #5C7AF2 #895CF2
triadic
#5C7AF2 #F25C7A #7AF25C
tetradic
#5C7AF2 #F25CC5 #F2D45C #5CF289
square
#5C7AF2 #F25CC5 #F2D45C #5CF289
split-complementary
#5C7AF2 #F2895C #C5F25C
monochromatic
#1034C4 #234CED #5C7AF2 #95A8F7 #CDD6FB

Accessibility & contrast

On white

3.80
#5C7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5C7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AF2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AF2#FFFFFF#000000##000000
##5C7AF21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#0E7CF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5c7af2;
/* rgb */ color: rgb(92, 122, 242);
/* oklch */ color: oklch(61.9% 0.182 269.8);
Tailwind
colors: {
  custom: {
    50: '#97a0f7',
    500: '#5c7af2',
    950: '#000000',
  },
}
SCSS
$custom: #5c7af2;
$custom-light: #97a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7af2",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 228,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.18246,
    "h": 269.8
  },
  "luminance": 0.22605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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