#5E8AFE#5E8AFE

#5E8AFE is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.9% C 0.179 H 266.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5E8AFE
RGBrgb(94, 138, 254)
HSLhsl(224, 99%, 68%)
HSVhsv(224, 63%, 100%)
CMYKcmyk(63%, 45.7%, 0%, 0.4%)
CIE-LABlab(59.63, 20.36, -62.34)
CIE-LCHlch(59.63, 65.58, 288.09°)
OKLaboklab(65.91% -0.0124 -0.1782)
OKLCHoklch(65.91% 0.179 266)
XYZxyz(31.5878, 27.7095, 97.4305)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8AFE #FED25E
analogous
#5EDAFE #5E8AFE #825EFE
triadic
#5E8AFE #FE5E8A #8AFE5E
tetradic
#5E8AFE #FE5EDA #FED25E #5EFE82
square
#5E8AFE #FE5EDA #FED25E #5EFE82
split-complementary
#5E8AFE #FE825E #DAFE5E
monochromatic
#013FE0 #215EFE #5E8AFE #9BB6FE #D8E2FF

Accessibility & contrast

On white

3.21
#5E8AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5E8AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8AFE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8AFE#FFFFFF#000000##000000
##5E8AFE1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#3489FC
Tritanopia (blue-blind)
#00A5B8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5e8afe;
/* rgb */ color: rgb(94, 138, 254);
/* oklch */ color: oklch(65.9% 0.179 266.0);
Tailwind
colors: {
  custom: {
    50: '#9aabff',
    500: '#5e8afe',
    950: '#000000',
  },
}
SCSS
$custom: #5e8afe;
$custom-light: #9aabff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8afe",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 223.5,
    "s": 98.765,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65909,
    "c": 0.17866,
    "h": 266
  },
  "luminance": 0.27712
}

Semantic roles & 50–950 ramp

primary
#5E8AFE
secondary
#F4E7C4
accent
#A600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5E8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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