#5E7CC7#5E7CC7

#5E7CC7 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.7% C 0.120 H 266.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5E7CC7
RGBrgb(94, 124, 199)
HSLhsl(223, 48%, 57%)
HSVhsv(223, 53%, 78%)
CMYKcmyk(52.8%, 37.7%, 0%, 22%)
CIE-LABlab(52.86, 10.79, -42.37)
CIE-LCHlch(52.86, 43.72, 284.29°)
OKLaboklab(59.73% -0.0077 -0.1198)
OKLCHoklch(59.73% 0.12 266.3)
XYZxyz(22.1291, 20.9169, 56.8930)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CC7 #C7A95E
analogous
#5EB1C7 #5E7CC7 #745EC7
triadic
#5E7CC7 #C75E7C #7CC75E
tetradic
#5E7CC7 #C75EB1 #C7A95E #5EC774
square
#5E7CC7 #C75EB1 #C7A95E #5EC774
split-complementary
#5E7CC7 #C7745E #B1C75E
monochromatic
#2C447F #3C5CAC #5E7CC7 #8BA1D7 #B9C6E7

Accessibility & contrast

On white

4.05
#5E7CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5E7CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CC7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CC7#FFFFFF#000000##000000
##5E7CC71.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#2A8C98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e7cc7;
/* rgb */ color: rgb(94, 124, 199);
/* oklch */ color: oklch(59.7% 0.120 266.3);
Tailwind
colors: {
  custom: {
    50: '#92a1d8',
    500: '#5e7cc7',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cc7;
$custom-light: #92a1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cc7",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 222.857,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.12006,
    "h": 266.3
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#5E7CC7
secondary
#D6C9AB
accent
#B150D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5E7CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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