#5D95EC#5D95EC

#5D95EC is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.1% C 0.143 H 258.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5D95EC
RGBrgb(93, 149, 236)
HSLhsl(217, 79%, 65%)
HSVhsv(217, 61%, 93%)
CMYKcmyk(60.6%, 36.9%, 0%, 7.5%)
CIE-LABlab(61.55, 7.67, -49.37)
CIE-LCHlch(61.55, 49.96, 278.84°)
OKLaboklab(67.06% -0.0275 -0.1401)
OKLCHoklch(67.06% 0.143 258.9)
XYZxyz(30.3966, 29.8754, 83.5053)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D95EC #ECB45D
analogous
#5DDDEC #5D95EC #6C5DEC
triadic
#5D95EC #EC5D95 #95EC5D
tetradic
#5D95EC #EC5DDD #ECB45D #5DEC6C
square
#5D95EC #EC5DDD #ECB45D #5DEC6C
split-complementary
#5D95EC #EC6C5D #DDEC5D
monochromatic
#1656B9 #2671E6 #5D95EC #94B9F2 #CBDDF9

Accessibility & contrast

On white

3.01
#5D95EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5D95EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D95EC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D95EC#FFFFFF#000000##000000
##5D95EC1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5d95ec;
/* rgb */ color: rgb(93, 149, 236);
/* oklch */ color: oklch(67.1% 0.143 258.9);
Tailwind
colors: {
  custom: {
    50: '#96b3f2',
    500: '#5d95ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d95ec;
$custom-light: #96b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d95ec",
  "rgb": {
    "r": 93,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 216.503,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67062,
    "c": 0.14273,
    "h": 258.9
  },
  "luminance": 0.29878
}

Semantic roles & 50–950 ramp

primary
#5D95EC
secondary
#EBD8BA
accent
#890ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5D95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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