#5F9DFD#5F9DFD

#5F9DFD is a light, vivid blue. Relative luminance 0.336; OKLCH L 69.8% C 0.156 H 258.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5F9DFD
RGBrgb(95, 157, 253)
HSLhsl(216, 98%, 68%)
HSVhsv(216, 62%, 99%)
CMYKcmyk(62.5%, 37.9%, 0%, 0.8%)
CIE-LABlab(64.67, 8.94, -53.74)
CIE-LCHlch(64.67, 54.48, 279.45°)
OKLaboklab(69.8% -0.0301 -0.1527)
OKLCHoklch(69.8% 0.156 258.9)
XYZxyz(34.4996, 33.6355, 97.5836)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9DFD #FDBF5F
analogous
#5FECFD #5F9DFD #705FFD
triadic
#5F9DFD #FD5F9D #9DFD5F
tetradic
#5F9DFD #FD5FEC #FDBF5F #5FFD70
square
#5F9DFD #FD5FEC #FDBF5F #5FFD70
split-complementary
#5F9DFD #FD705F #ECFD5F
monochromatic
#0359DF #2378FC #5F9DFD #9BC2FE #D8E7FF

Accessibility & contrast

On white

2.72
#5F9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#5F9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9DFD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9DFD#FFFFFF#000000##000000
##5F9DFD1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#00B3C1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9dfd;
/* rgb */ color: rgb(95, 157, 253);
/* oklch */ color: oklch(69.8% 0.156 258.9);
Tailwind
colors: {
  custom: {
    50: '#9ab9fe',
    500: '#5f9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #5f9dfd;
$custom-light: #9ab9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9dfd",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 216.456,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69795,
    "c": 0.15566,
    "h": 258.9
  },
  "luminance": 0.33639
}

Semantic roles & 50–950 ramp

primary
#5F9DFD
secondary
#F4E1C4
accent
#8B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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