#5D9AFA#5D9AFA

#5D9AFA is a light, vivid blue. Relative luminance 0.323; OKLCH L 68.9% C 0.156 H 259.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5D9AFA
RGBrgb(93, 154, 250)
HSLhsl(217, 94%, 67%)
HSVhsv(217, 63%, 98%)
CMYKcmyk(62.8%, 38.4%, 0%, 2%)
CIE-LABlab(63.62, 9.36, -53.77)
CIE-LCHlch(63.62, 54.58, 279.87°)
OKLaboklab(68.91% -0.0294 -0.1529)
OKLCHoklch(68.91% 0.156 259.1)
XYZxyz(33.3190, 32.3373, 94.9098)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9AFA #FABD5D
analogous
#5DE8FA #5D9AFA #6F5DFA
triadic
#5D9AFA #FA5D9A #9AFA5D
tetradic
#5D9AFA #FA5DE8 #FABD5D #5DFA6F
square
#5D9AFA #FA5DE8 #FABD5D #5DFA6F
split-complementary
#5D9AFA #FA6F5D #E8FA5D
monochromatic
#0757D6 #2275F8 #5D9AFA #98BFFC #D4E4FE

Accessibility & contrast

On white

2.81
#5D9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#5D9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D9AFA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9AFA#FFFFFF#000000##000000
##5D9AFA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#00B0BE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5d9afa;
/* rgb */ color: rgb(93, 154, 250);
/* oklch */ color: oklch(68.9% 0.156 259.1);
Tailwind
colors: {
  custom: {
    50: '#98b7fc',
    500: '#5d9afa',
    950: '#000000',
  },
}
SCSS
$custom: #5d9afa;
$custom-light: #98b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9afa",
  "rgb": {
    "r": 93,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 216.688,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68906,
    "c": 0.15569,
    "h": 259.1
  },
  "luminance": 0.3234
}

Semantic roles & 50–950 ramp

primary
#5D9AFA
secondary
#F2DFC1
accent
#8C00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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