#5D9AF6#5D9AF6

#5D9AF6 is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.7% C 0.150 H 258.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5D9AF6
RGBrgb(93, 154, 246)
HSLhsl(216, 89%, 66%)
HSVhsv(216, 62%, 96%)
CMYKcmyk(62.2%, 37.4%, 0%, 3.5%)
CIE-LABlab(63.42, 8.04, -51.91)
CIE-LCHlch(63.42, 52.52, 278.80°)
OKLaboklab(68.68% -0.0302 -0.1474)
OKLCHoklch(68.68% 0.151 258.4)
XYZxyz(32.6984, 32.0891, 91.6415)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9AF6 #F6B95D
analogous
#5DE7F6 #5D9AF6 #6D5DF6
triadic
#5D9AF6 #F65D9A #9AF65D
tetradic
#5D9AF6 #F65DE7 #F6B95D #5DF66D
square
#5D9AF6 #F65DE7 #F6B95D #5DF66D
split-complementary
#5D9AF6 #F66D5D #E7F65D
monochromatic
#0B59CD #2376F3 #5D9AF6 #97BEF9 #D1E2FC

Accessibility & contrast

On white

2.83
#5D9AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#5D9AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D9AF6
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9AF6#FFFFFF#000000##000000
##5D9AF61.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1FA
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#00AFBC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5d9af6;
/* rgb */ color: rgb(93, 154, 246);
/* oklch */ color: oklch(68.7% 0.150 258.4);
Tailwind
colors: {
  custom: {
    50: '#98b7f9',
    500: '#5d9af6',
    950: '#000000',
  },
}
SCSS
$custom: #5d9af6;
$custom-light: #98b7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9af6",
  "rgb": {
    "r": 93,
    "g": 154,
    "b": 246
  },
  "hsl": {
    "h": 216.078,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6868,
    "c": 0.1505,
    "h": 258.4
  },
  "luminance": 0.32092
}

Semantic roles & 50–950 ramp

primary
#5D9AF6
secondary
#F0DCBF
accent
#8A00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D9AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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