#5E8EF8#5E8EF8

#5E8EF8 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.3% C 0.166 H 264.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5E8EF8
RGBrgb(94, 142, 248)
HSLhsl(221, 92%, 67%)
HSVhsv(221, 62%, 97%)
CMYKcmyk(62.1%, 42.7%, 0%, 2.7%)
CIE-LABlab(60.34, 15.97, -57.90)
CIE-LCHlch(60.34, 60.06, 285.42°)
OKLaboklab(66.35% -0.0171 -0.1651)
OKLCHoklch(66.35% 0.166 264.1)
XYZxyz(31.2265, 28.5002, 92.6442)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8EF8 #F8C85E
analogous
#5EDBF8 #5E8EF8 #7B5EF8
triadic
#5E8EF8 #F85E8E #8EF85E
tetradic
#5E8EF8 #F85EDB #F8C85E #5EF87B
square
#5E8EF8 #F85EDB #F8C85E #5EF87B
split-complementary
#5E8EF8 #F87B5E #DBF85E
monochromatic
#0948D2 #2365F5 #5E8EF8 #99B7FB #D3E0FD

Accessibility & contrast

On white

3.13
#5E8EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5E8EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8EF8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8EF8#FFFFFF#000000##000000
##5E8EF81.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#458BF6
Tritanopia (blue-blind)
#00A6B7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5e8ef8;
/* rgb */ color: rgb(94, 142, 248);
/* oklch */ color: oklch(66.3% 0.166 264.1);
Tailwind
colors: {
  custom: {
    50: '#99aefb',
    500: '#5e8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #5e8ef8;
$custom-light: #99aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8ef8",
  "rgb": {
    "r": 94,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 221.299,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66346,
    "c": 0.16602,
    "h": 264.1
  },
  "luminance": 0.28503
}

Semantic roles & 50–950 ramp

primary
#5E8EF8
secondary
#F1E2C0
accent
#9E00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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