#5E8AF9#5E8AF9

#5E8AF9 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.6% C 0.172 H 265.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5E8AF9
RGBrgb(94, 138, 249)
HSLhsl(223, 93%, 67%)
HSVhsv(223, 62%, 98%)
CMYKcmyk(62.2%, 44.6%, 0%, 2.4%)
CIE-LABlab(59.34, 18.70, -60.05)
CIE-LCHlch(59.34, 62.89, 287.29°)
OKLaboklab(65.6% -0.0131 -0.1715)
OKLCHoklch(65.6% 0.172 265.6)
XYZxyz(30.7976, 27.3934, 93.2686)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8AF9 #F9CD5E
analogous
#5ED7F9 #5E8AF9 #805EF9
triadic
#5E8AF9 #F95E8A #8AF95E
tetradic
#5E8AF9 #F95ED7 #F9CD5E #5EF980
square
#5E8AF9 #F95ED7 #F9CD5E #5EF980
split-complementary
#5E8AF9 #F9805E #D7F95E
monochromatic
#0842D5 #235FF7 #5E8AF9 #99B5FB #D4E0FD

Accessibility & contrast

On white

3.24
#5E8AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5E8AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8AF9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8AF9#FFFFFF#000000##000000
##5E8AF91.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FD
Deuteranopia (green-blind)
#3B88F7
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5e8af9;
/* rgb */ color: rgb(94, 138, 249);
/* oklch */ color: oklch(65.6% 0.172 265.6);
Tailwind
colors: {
  custom: {
    50: '#99abfc',
    500: '#5e8af9',
    950: '#000000',
  },
}
SCSS
$custom: #5e8af9;
$custom-light: #99abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8af9",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 222.968,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65595,
    "c": 0.172,
    "h": 265.6
  },
  "luminance": 0.27396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E8AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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