#5E8CEE#5E8CEE

#5E8CEE is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.3% C 0.155 H 263.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5E8CEE
RGBrgb(94, 140, 238)
HSLhsl(221, 81%, 65%)
HSVhsv(221, 61%, 93%)
CMYKcmyk(60.5%, 41.2%, 0%, 6.7%)
CIE-LABlab(59.26, 13.85, -54.11)
CIE-LCHlch(59.26, 55.85, 284.36°)
OKLaboklab(65.33% -0.017 -0.154)
OKLCHoklch(65.33% 0.155 263.7)
XYZxyz(29.4215, 27.3063, 84.5925)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8CEE #EEC05E
analogous
#5ED4EE #5E8CEE #785EEE
triadic
#5E8CEE #EE5E8C #8CEE5E
tetradic
#5E8CEE #EE5ED4 #EEC05E #5EEE78
square
#5E8CEE #EE5ED4 #EEC05E #5EEE78
split-complementary
#5E8CEE #EE785E #D4EE5E
monochromatic
#144ABE #2764E8 #5E8CEE #95B4F4 #CDDBFA

Accessibility & contrast

On white

3.25
#5E8CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5E8CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8CEE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8CEE#FFFFFF#000000##000000
##5E8CEE1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#4C89EC
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5e8cee;
/* rgb */ color: rgb(94, 140, 238);
/* oklch */ color: oklch(65.3% 0.155 263.7);
Tailwind
colors: {
  custom: {
    50: '#97adf4',
    500: '#5e8cee',
    950: '#000000',
  },
}
SCSS
$custom: #5e8cee;
$custom-light: #97adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8cee",
  "rgb": {
    "r": 94,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 220.833,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65335,
    "c": 0.15496,
    "h": 263.7
  },
  "luminance": 0.27309
}

Semantic roles & 50–950 ramp

primary
#5E8CEE
secondary
#ECDDBB
accent
#9908DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5E8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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