#5D8CEF#5D8CEF

#5D8CEF is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.3% C 0.157 H 263.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5D8CEF
RGBrgb(93, 140, 239)
HSLhsl(221, 82%, 65%)
HSVhsv(221, 61%, 94%)
CMYKcmyk(61.1%, 41.4%, 0%, 6.3%)
CIE-LABlab(59.26, 14.00, -54.65)
CIE-LCHlch(59.26, 56.42, 284.36°)
OKLaboklab(65.35% -0.0177 -0.1556)
OKLCHoklch(65.35% 0.157 263.5)
XYZxyz(29.4669, 27.3127, 85.3636)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8CEF #EFC05D
analogous
#5DD5EF #5D8CEF #775DEF
triadic
#5D8CEF #EF5D8C #8CEF5D
tetradic
#5D8CEF #EF5DD5 #EFC05D #5DEF77
square
#5D8CEF #EF5DD5 #EFC05D #5DEF77
split-complementary
#5D8CEF #EF775D #D5EF5D
monochromatic
#134ABF #2564E9 #5D8CEF #95B4F5 #CCDBFA

Accessibility & contrast

On white

3.25
#5D8CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5D8CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8CEF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8CEF#FFFFFF#000000##000000
##5D8CEF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#4A88ED
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5d8cef;
/* rgb */ color: rgb(93, 140, 239);
/* oklch */ color: oklch(65.3% 0.157 263.5);
Tailwind
colors: {
  custom: {
    50: '#97adf5',
    500: '#5d8cef',
    950: '#000000',
  },
}
SCSS
$custom: #5d8cef;
$custom-light: #97adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8cef",
  "rgb": {
    "r": 93,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 220.685,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65345,
    "c": 0.15665,
    "h": 263.5
  },
  "luminance": 0.27315
}

Semantic roles & 50–950 ramp

primary
#5D8CEF
secondary
#EDDDBB
accent
#9907DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5D8CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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