#5D8AEB#5D8AEB

#5D8AEB is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.7% C 0.154 H 263.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5D8AEB
RGBrgb(93, 138, 235)
HSLhsl(221, 78%, 64%)
HSVhsv(221, 60%, 92%)
CMYKcmyk(60.4%, 41.3%, 0%, 7.8%)
CIE-LABlab(58.51, 13.87, -53.64)
CIE-LCHlch(58.51, 55.40, 284.50°)
OKLaboklab(64.69% -0.0164 -0.1527)
OKLCHoklch(64.69% 0.154 263.9)
XYZxyz(28.5929, 26.4998, 82.1893)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8AEB #EBBE5D
analogous
#5DD1EB #5D8AEB #775DEB
triadic
#5D8AEB #EB5D8A #8AEB5D
tetradic
#5D8AEB #EB5DD1 #EBBE5D #5DEB77
square
#5D8AEB #EB5DD1 #EBBE5D #5DEB77
split-complementary
#5D8AEB #EB775D #D1EB5D
monochromatic
#1749B7 #2763E4 #5D8AEB #93B1F2 #CAD9F8

Accessibility & contrast

On white

3.33
#5D8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5D8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8AEB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8AEB#FFFFFF#000000##000000
##5D8AEB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5d8aeb;
/* rgb */ color: rgb(93, 138, 235);
/* oklch */ color: oklch(64.7% 0.154 263.9);
Tailwind
colors: {
  custom: {
    50: '#96abf2',
    500: '#5d8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5d8aeb;
$custom-light: #96abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8aeb",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 220.986,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64693,
    "c": 0.15358,
    "h": 263.9
  },
  "luminance": 0.26502
}

Semantic roles & 50–950 ramp

primary
#5D8AEB
secondary
#EBDBB9
accent
#990BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5D8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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