#5C7ECA#5C7ECA

#5C7ECA is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.123 H 264.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C7ECA
RGBrgb(92, 126, 202)
HSLhsl(221, 51%, 58%)
HSVhsv(221, 54%, 79%)
CMYKcmyk(54.5%, 37.6%, 0%, 20.8%)
CIE-LABlab(53.45, 10.10, -43.15)
CIE-LCHlch(53.45, 44.31, 283.17°)
OKLaboklab(60.2% -0.0112 -0.1221)
OKLCHoklch(60.2% 0.123 264.7)
XYZxyz(22.5316, 21.4596, 58.8205)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7ECA #CAA85C
analogous
#5CB5CA #5C7ECA #715CCA
triadic
#5C7ECA #CA5C7E #7ECA5C
tetradic
#5C7ECA #CA5CB5 #CAA85C #5CCA71
square
#5C7ECA #CA5CB5 #CAA85C #5CCA71
split-complementary
#5C7ECA #CA715C #B5CA5C
monochromatic
#2A4581 #395EB0 #5C7ECA #8AA3D9 #B8C7E8

Accessibility & contrast

On white

3.97
#5C7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5C7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7ECA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7ECA#FFFFFF#000000##000000
##5C7ECA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#1E8F9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c7eca;
/* rgb */ color: rgb(92, 126, 202);
/* oklch */ color: oklch(60.2% 0.123 264.7);
Tailwind
colors: {
  custom: {
    50: '#91a3da',
    500: '#5c7eca',
    950: '#000000',
  },
}
SCSS
$custom: #5c7eca;
$custom-light: #91a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7eca",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 221.455,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.12264,
    "h": 264.7
  },
  "luminance": 0.21461
}

Semantic roles & 50–950 ramp

primary
#5C7ECA
secondary
#D7C9AB
accent
#AF4DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #5C7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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