#5E8AF6#5E8AF6

#5E8AF6 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.4% C 0.168 H 265.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5E8AF6
RGBrgb(94, 138, 246)
HSLhsl(223, 89%, 67%)
HSVhsv(223, 62%, 96%)
CMYKcmyk(61.8%, 43.9%, 0%, 3.5%)
CIE-LABlab(59.17, 17.70, -58.67)
CIE-LCHlch(59.17, 61.28, 286.78°)
OKLaboklab(65.41% -0.0136 -0.1674)
OKLCHoklch(65.41% 0.168 265.4)
XYZxyz(30.3334, 27.2078, 90.8240)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8AF6 #F6CA5E
analogous
#5ED6F6 #5E8AF6 #7E5EF6
triadic
#5E8AF6 #F65E8A #8AF65E
tetradic
#5E8AF6 #F65ED6 #F6CA5E #5EF67E
square
#5E8AF6 #F65ED6 #F6CA5E #5EF67E
split-complementary
#5E8AF6 #F67E5E #D6F65E
monochromatic
#0C44CE #2460F3 #5E8AF6 #98B4F9 #D2DEFC

Accessibility & contrast

On white

3.26
#5E8AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#5E8AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8AF6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8AF6#FFFFFF#000000##000000
##5E8AF61.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5e8af6;
/* rgb */ color: rgb(94, 138, 246);
/* oklch */ color: oklch(65.4% 0.168 265.4);
Tailwind
colors: {
  custom: {
    50: '#98abfa',
    500: '#5e8af6',
    950: '#000000',
  },
}
SCSS
$custom: #5e8af6;
$custom-light: #98abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8af6",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 222.632,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65409,
    "c": 0.168,
    "h": 265.4
  },
  "luminance": 0.2721
}

Semantic roles & 50–950 ramp

primary
#5E8AF6
secondary
#F0E2BF
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E8AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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