#5D99F8#5D99F8

#5D99F8 is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.6% C 0.154 H 259.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5D99F8
RGBrgb(93, 153, 248)
HSLhsl(217, 92%, 67%)
HSVhsv(217, 63%, 97%)
CMYKcmyk(62.5%, 38.3%, 0%, 2.7%)
CIE-LABlab(63.25, 9.28, -53.27)
CIE-LCHlch(63.25, 54.07, 279.88°)
OKLaboklab(68.58% -0.0288 -0.1514)
OKLCHoklch(68.58% 0.154 259.2)
XYZxyz(32.8427, 31.8839, 93.2121)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D99F8 #F8BC5D
analogous
#5DE7F8 #5D99F8 #6F5DF8
triadic
#5D99F8 #F85D99 #99F85D
tetradic
#5D99F8 #F85DE7 #F8BC5D #5DF86F
square
#5D99F8 #F85DE7 #F8BC5D #5DF86F
split-complementary
#5D99F8 #F86F5D #E7F85D
monochromatic
#0957D2 #2274F5 #5D99F8 #98BEFB #D2E3FD

Accessibility & contrast

On white

2.85
#5D99F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#5D99F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D99F8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D99F8#FFFFFF#000000##000000
##5D99F81.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#00AFBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5d99f8;
/* rgb */ color: rgb(93, 153, 248);
/* oklch */ color: oklch(68.6% 0.154 259.2);
Tailwind
colors: {
  custom: {
    50: '#98b6fb',
    500: '#5d99f8',
    950: '#000000',
  },
}
SCSS
$custom: #5d99f8;
$custom-light: #98b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d99f8",
  "rgb": {
    "r": 93,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 216.774,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68582,
    "c": 0.15416,
    "h": 259.2
  },
  "luminance": 0.31887
}

Semantic roles & 50–950 ramp

primary
#5D99F8
secondary
#F1DEC0
accent
#8D00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5D99F8

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

Preview Lab → · Contrast checker → · Palette generator →

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