#5E8AF8#5E8AF8

#5E8AF8 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.5% C 0.171 H 265.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5E8AF8
RGBrgb(94, 138, 248)
HSLhsl(223, 92%, 67%)
HSVhsv(223, 62%, 97%)
CMYKcmyk(62.1%, 44.4%, 0%, 2.7%)
CIE-LABlab(59.28, 18.36, -59.59)
CIE-LCHlch(59.28, 62.36, 287.13°)
OKLaboklab(65.53% -0.0133 -0.1701)
OKLCHoklch(65.53% 0.171 265.5)
XYZxyz(30.6420, 27.3312, 92.4494)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8AF8 #F8CC5E
analogous
#5ED7F8 #5E8AF8 #7F5EF8
triadic
#5E8AF8 #F85E8A #8AF85E
tetradic
#5E8AF8 #F85ED7 #F8CC5E #5EF87F
square
#5E8AF8 #F85ED7 #F8CC5E #5EF87F
split-complementary
#5E8AF8 #F87F5E #D7F85E
monochromatic
#0943D2 #235FF5 #5E8AF8 #99B5FB #D3DFFD

Accessibility & contrast

On white

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

On black

6.47
#5E8AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8AF8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8AF8#FFFFFF#000000##000000
##5E8AF81.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#3C88F6
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5e8af8;
/* rgb */ color: rgb(94, 138, 248);
/* oklch */ color: oklch(65.5% 0.171 265.5);
Tailwind
colors: {
  custom: {
    50: '#99abfb',
    500: '#5e8af8',
    950: '#000000',
  },
}
SCSS
$custom: #5e8af8;
$custom-light: #99abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8af8",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 222.857,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65533,
    "c": 0.17067,
    "h": 265.5
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#5E8AF8
secondary
#F1E3C0
accent
#A400E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E8AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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