#5E7ECC#5E7ECC

#5E7ECC is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.125 H 265.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E7ECC
RGBrgb(94, 126, 204)
HSLhsl(223, 52%, 58%)
HSVhsv(223, 54%, 80%)
CMYKcmyk(53.9%, 38.2%, 0%, 20%)
CIE-LABlab(53.66, 11.18, -43.94)
CIE-LCHlch(53.66, 45.34, 284.27°)
OKLaboklab(60.43% -0.0088 -0.1244)
OKLCHoklch(60.43% 0.125 265.9)
XYZxyz(22.9724, 21.6593, 60.0852)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7ECC #CCAC5E
analogous
#5EB5CC #5E7ECC #755ECC
triadic
#5E7ECC #CC5E7E #7ECC5E
tetradic
#5E7ECC #CC5EB5 #CCAC5E #5ECC75
square
#5E7ECC #CC5EB5 #CCAC5E #5ECC75
split-complementary
#5E7ECC #CC755E #B5CC5E
monochromatic
#2A4585 #395DB4 #5E7ECC #8CA3DB #BBC8E9

Accessibility & contrast

On white

3.94
#5E7ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5E7ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7ECC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7ECC#FFFFFF#000000##000000
##5E7ECC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86CF
Deuteranopia (green-blind)
#517CCA
Tritanopia (blue-blind)
#238F9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e7ecc;
/* rgb */ color: rgb(94, 126, 204);
/* oklch */ color: oklch(60.4% 0.125 265.9);
Tailwind
colors: {
  custom: {
    50: '#93a3dc',
    500: '#5e7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ecc;
$custom-light: #93a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ecc",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 222.545,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60434,
    "c": 0.1247,
    "h": 265.9
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

primary
#5E7ECC
secondary
#D9CCAD
accent
#B24CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #5E7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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