#5E8FFC#5E8FFC

#5E8FFC is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.8% C 0.170 H 264.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5E8FFC
RGBrgb(94, 143, 252)
HSLhsl(221, 96%, 68%)
HSVhsv(221, 63%, 99%)
CMYKcmyk(62.7%, 43.3%, 0%, 1.2%)
CIE-LABlab(60.83, 16.70, -59.32)
CIE-LCHlch(60.83, 61.63, 285.73°)
OKLaboklab(66.79% -0.0174 -0.1693)
OKLCHoklch(66.79% 0.17 264.1)
XYZxyz(32.0031, 29.0499, 95.9972)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8FFC #FCCB5E
analogous
#5EDEFC #5E8FFC #7C5EFC
triadic
#5E8FFC #FC5E8F #8FFC5E
tetradic
#5E8FFC #FC5EDE #FCCB5E #5EFC7C
square
#5E8FFC #FC5EDE #FCCB5E #5EFC7C
split-complementary
#5E8FFC #FC7C5E #DEFC5E
monochromatic
#0447DC #2265FB #5E8FFC #9AB9FD #D6E3FE

Accessibility & contrast

On white

3.08
#5E8FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#5E8FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8FFC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8FFC#FFFFFF#000000##000000
##5E8FFC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#00A8B9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5e8ffc;
/* rgb */ color: rgb(94, 143, 252);
/* oklch */ color: oklch(66.8% 0.170 264.1);
Tailwind
colors: {
  custom: {
    50: '#99affe',
    500: '#5e8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #5e8ffc;
$custom-light: #99affe;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8ffc",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 221.392,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66793,
    "c": 0.17019,
    "h": 264.1
  },
  "luminance": 0.29053
}

Semantic roles & 50–950 ramp

primary
#5E8FFC
secondary
#F3E4C3
accent
#9E00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5E8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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