#5E8FF2#5E8FF2

#5E8FF2 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.157 H 263.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5E8FF2
RGBrgb(94, 143, 242)
HSLhsl(220, 85%, 66%)
HSVhsv(220, 61%, 95%)
CMYKcmyk(61.2%, 40.9%, 0%, 5.1%)
CIE-LABlab(60.28, 13.38, -54.69)
CIE-LCHlch(60.28, 56.30, 283.75°)
OKLaboklab(66.19% -0.0192 -0.1557)
OKLCHoklch(66.19% 0.157 263)
XYZxyz(30.4600, 28.4327, 87.8700)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8FF2 #F2C15E
analogous
#5ED9F2 #5E8FF2 #775EF2
triadic
#5E8FF2 #F25E8F #8FF25E
tetradic
#5E8FF2 #F25ED9 #F2C15E #5EF277
square
#5E8FF2 #F25ED9 #F2C15E #5EF277
split-complementary
#5E8FF2 #F2775E #D9F25E
monochromatic
#104CC6 #2568ED #5E8FF2 #97B6F7 #CFDEFB

Accessibility & contrast

On white

3.14
#5E8FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#5E8FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8FF2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8FF2#FFFFFF#000000##000000
##5E8FF21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#4D8BF0
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5e8ff2;
/* rgb */ color: rgb(94, 143, 242);
/* oklch */ color: oklch(66.2% 0.157 263.0);
Tailwind
colors: {
  custom: {
    50: '#98aff7',
    500: '#5e8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #5e8ff2;
$custom-light: #98aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8ff2",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 220.135,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66193,
    "c": 0.15688,
    "h": 263
  },
  "luminance": 0.28435
}

Semantic roles & 50–950 ramp

primary
#5E8FF2
secondary
#EEDEBD
accent
#9804E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5E8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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