#5D9EFA#5D9EFA

#5D9EFA is a light, vivid blue. Relative luminance 0.337; OKLCH L 69.8% C 0.152 H 257.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5D9EFA
RGBrgb(93, 158, 250)
HSLhsl(215, 94%, 67%)
HSVhsv(215, 63%, 98%)
CMYKcmyk(62.8%, 36.8%, 0%, 2%)
CIE-LABlab(64.71, 7.02, -52.05)
CIE-LCHlch(64.71, 52.52, 277.69°)
OKLaboklab(69.75% -0.0333 -0.1478)
OKLCHoklch(69.75% 0.152 257.3)
XYZxyz(33.9902, 33.6798, 95.1335)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9EFA #FAB95D
analogous
#5DEDFA #5D9EFA #6A5DFA
triadic
#5D9EFA #FA5D9E #9EFA5D
tetradic
#5D9EFA #FA5DED #FAB95D #5DFA6A
square
#5D9EFA #FA5DED #FAB95D #5DFA6A
split-complementary
#5D9EFA #FA6A5D #EDFA5D
monochromatic
#075CD6 #227AF8 #5D9EFA #98C2FC #D4E5FE

Accessibility & contrast

On white

2.71
#5D9EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#5D9EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D9EFA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9EFA#FFFFFF#000000##000000
##5D9EFA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#00B3C0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5d9efa;
/* rgb */ color: rgb(93, 158, 250);
/* oklch */ color: oklch(69.8% 0.152 257.3);
Tailwind
colors: {
  custom: {
    50: '#98bafc',
    500: '#5d9efa',
    950: '#000000',
  },
}
SCSS
$custom: #5d9efa;
$custom-light: #98bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9efa",
  "rgb": {
    "r": 93,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 215.159,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6975,
    "c": 0.15151,
    "h": 257.3
  },
  "luminance": 0.33683
}

Semantic roles & 50–950 ramp

primary
#5D9EFA
secondary
#F2DEC1
accent
#8600E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D9EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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