#5E87CA#5E87CA

#5E87CA is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.3% C 0.112 H 259.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5E87CA
RGBrgb(94, 135, 202)
HSLhsl(217, 50%, 58%)
HSVhsv(217, 53%, 79%)
CMYKcmyk(53.5%, 33.2%, 0%, 20.8%)
CIE-LABlab(56.06, 5.16, -39.03)
CIE-LCHlch(56.06, 39.37, 277.53°)
OKLaboklab(62.26% -0.0197 -0.11)
OKLCHoklch(62.26% 0.112 259.8)
XYZxyz(23.9371, 23.9701, 59.2310)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E87CA #CAA15E
analogous
#5EBDCA #5E87CA #6B5ECA
triadic
#5E87CA #CA5E87 #87CA5E
tetradic
#5E87CA #CA5EBD #CAA15E #5ECA6B
square
#5E87CA #CA5EBD #CAA15E #5ECA6B
split-complementary
#5E87CA #CA6B5E #BDCA5E
monochromatic
#2B4C83 #3A67B1 #5E87CA #8CA9D9 #BACCE8

Accessibility & contrast

On white

3.62
#5E87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5E87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E87CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E87CA#FFFFFF#000000##000000
##5E87CA1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#22969F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e87ca;
/* rgb */ color: rgb(94, 135, 202);
/* oklch */ color: oklch(62.3% 0.112 259.8);
Tailwind
colors: {
  custom: {
    50: '#92a9da',
    500: '#5e87ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e87ca;
$custom-light: #92a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#5e87ca",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 217.222,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62259,
    "c": 0.11176,
    "h": 259.8
  },
  "luminance": 0.23972
}

Semantic roles & 50–950 ramp

primary
#5E87CA
secondary
#D7C7AC
accent
#A54EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5E87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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