#5C7EC9#5C7EC9

#5C7EC9 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.121 H 264.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5C7EC9
RGBrgb(92, 126, 201)
HSLhsl(221, 50%, 57%)
HSVhsv(221, 54%, 79%)
CMYKcmyk(54.2%, 37.3%, 0%, 21.2%)
CIE-LABlab(53.40, 9.78, -42.66)
CIE-LCHlch(53.40, 43.77, 282.91°)
OKLaboklab(60.15% -0.0115 -0.1207)
OKLCHoklch(60.15% 0.121 264.6)
XYZxyz(22.4136, 21.4124, 58.1989)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7EC9 #C9A75C
analogous
#5CB5C9 #5C7EC9 #705CC9
triadic
#5C7EC9 #C95C7E #7EC95C
tetradic
#5C7EC9 #C95CB5 #C9A75C #5CC970
square
#5C7EC9 #C95CB5 #C9A75C #5CC970
split-complementary
#5C7EC9 #C9705C #B5C95C
monochromatic
#2A4580 #3A5EAE #5C7EC9 #8AA2D8 #B8C7E7

Accessibility & contrast

On white

3.98
#5C7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5C7EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7EC9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7EC9#FFFFFF#000000##000000
##5C7EC91.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CC
Deuteranopia (green-blind)
#537BC7
Tritanopia (blue-blind)
#1F8E9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c7ec9;
/* rgb */ color: rgb(92, 126, 201);
/* oklch */ color: oklch(60.1% 0.121 264.6);
Tailwind
colors: {
  custom: {
    50: '#91a3da',
    500: '#5c7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ec9;
$custom-light: #91a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ec9",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 221.284,
    "s": 50.23,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.12124,
    "h": 264.6
  },
  "luminance": 0.21414
}

Semantic roles & 50–950 ramp

primary
#5C7EC9
secondary
#D6C9AA
accent
#AE4EDA
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #5C7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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