#5E8EF5#5E8EF5

#5E8EF5 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.2% C 0.162 H 263.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5E8EF5
RGBrgb(94, 142, 245)
HSLhsl(221, 88%, 66%)
HSVhsv(221, 62%, 96%)
CMYKcmyk(61.6%, 42%, 0%, 3.9%)
CIE-LABlab(60.17, 14.97, -56.51)
CIE-LCHlch(60.17, 58.46, 284.84°)
OKLaboklab(66.16% -0.0177 -0.1611)
OKLCHoklch(66.16% 0.162 263.7)
XYZxyz(30.7648, 28.3155, 90.2127)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8EF5 #F5C55E
analogous
#5EDAF5 #5E8EF5 #7A5EF5
triadic
#5E8EF5 #F55E8E #8EF55E
tetradic
#5E8EF5 #F55EDA #F5C55E #5EF57A
square
#5E8EF5 #F55EDA #F5C55E #5EF57A
split-complementary
#5E8EF5 #F57A5E #DAF55E
monochromatic
#0D49CC #2466F1 #5E8EF5 #98B6F9 #D1DFFC

Accessibility & contrast

On white

3.15
#5E8EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5E8EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8EF5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8EF5#FFFFFF#000000##000000
##5E8EF51.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F9
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#00A5B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5e8ef5;
/* rgb */ color: rgb(94, 142, 245);
/* oklch */ color: oklch(66.2% 0.162 263.7);
Tailwind
colors: {
  custom: {
    50: '#98aef9',
    500: '#5e8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #5e8ef5;
$custom-light: #98aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8ef5",
  "rgb": {
    "r": 94,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 220.927,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66165,
    "c": 0.16203,
    "h": 263.7
  },
  "luminance": 0.28318
}

Semantic roles & 50–950 ramp

primary
#5E8EF5
secondary
#F0E0BF
accent
#9C01E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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