#5E8CD4#5E8CD4

#5E8CD4 is a light, moderate blue. Relative luminance 0.259; OKLCH L 63.9% C 0.120 H 259.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5E8CD4
RGBrgb(94, 140, 212)
HSLhsl(217, 58%, 60%)
HSVhsv(217, 56%, 83%)
CMYKcmyk(55.7%, 34%, 0%, 16.9%)
CIE-LABlab(57.93, 5.39, -41.72)
CIE-LCHlch(57.93, 42.06, 277.36°)
OKLaboklab(63.87% -0.0228 -0.1178)
OKLCHoklch(63.87% 0.12 259.1)
XYZxyz(25.8737, 25.8872, 65.9079)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8CD4 #D4A65E
analogous
#5EC7D4 #5E8CD4 #6B5ED4
triadic
#5E8CD4 #D45E8C #8CD45E
tetradic
#5E8CD4 #D45EC7 #D4A65E #5ED46B
square
#5E8CD4 #D45EC7 #D4A65E #5ED46B
split-complementary
#5E8CD4 #D46B5E #C7D45E
monochromatic
#275091 #346BC1 #5E8CD4 #8EAFE1 #BFD1EE

Accessibility & contrast

On white

3.40
#5E8CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5E8CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8CD4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8CD4#FFFFFF#000000##000000
##5E8CD41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F91D7
Deuteranopia (green-blind)
#6086D2
Tritanopia (blue-blind)
#099CA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5e8cd4;
/* rgb */ color: rgb(94, 140, 212);
/* oklch */ color: oklch(63.9% 0.120 259.1);
Tailwind
colors: {
  custom: {
    50: '#94ade1',
    500: '#5e8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5e8cd4;
$custom-light: #94ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8cd4",
  "rgb": {
    "r": 94,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 216.61,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.63874,
    "c": 0.11998,
    "h": 259.1
  },
  "luminance": 0.25889
}

Semantic roles & 50–950 ramp

primary
#5E8CD4
secondary
#DECCB0
accent
#A547E1
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5E8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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