#5E8CD9#5E8CD9

#5E8CD9 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.1% C 0.127 H 260.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5E8CD9
RGBrgb(94, 140, 217)
HSLhsl(218, 62%, 61%)
HSVhsv(218, 57%, 85%)
CMYKcmyk(56.7%, 35.5%, 0%, 14.9%)
CIE-LABlab(58.17, 6.99, -44.14)
CIE-LCHlch(58.17, 44.69, 279.00°)
OKLaboklab(64.14% -0.0215 -0.1248)
OKLCHoklch(64.14% 0.127 260.2)
XYZxyz(26.5142, 26.1434, 69.2811)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8CD9 #D9AB5E
analogous
#5EC9D9 #5E8CD9 #6D5ED9
triadic
#5E8CD9 #D95E8C #8CD95E
tetradic
#5E8CD9 #D95EC9 #D9AB5E #5ED96D
square
#5E8CD9 #D95EC9 #D9AB5E #5ED96D
split-complementary
#5E8CD9 #D96D5E #C9D95E
monochromatic
#245099 #3069CA #5E8CD9 #90AFE5 #C1D3F0

Accessibility & contrast

On white

3.37
#5E8CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5E8CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8CD9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8CD9#FFFFFF#000000##000000
##5E8CD91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DC
Deuteranopia (green-blind)
#5D87D7
Tritanopia (blue-blind)
#009DA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5e8cd9;
/* rgb */ color: rgb(94, 140, 217);
/* oklch */ color: oklch(64.1% 0.127 260.2);
Tailwind
colors: {
  custom: {
    50: '#94ade5',
    500: '#5e8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #5e8cd9;
$custom-light: #94ade5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8cd9",
  "rgb": {
    "r": 94,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 217.561,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64143,
    "c": 0.12669,
    "h": 260.2
  },
  "luminance": 0.26146
}

Semantic roles & 50–950 ramp

primary
#5E8CD9
secondary
#E1CFB2
accent
#891CCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5E8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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