#5F9DFE#5F9DFE

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

Color values

HEX#5F9DFE
RGBrgb(95, 157, 254)
HSLhsl(217, 99%, 68%)
HSVhsv(217, 63%, 100%)
CMYKcmyk(62.6%, 38.2%, 0%, 0.4%)
CIE-LABlab(64.72, 9.27, -54.20)
CIE-LCHlch(64.72, 54.99, 279.71°)
OKLaboklab(69.85% -0.0299 -0.1541)
OKLCHoklch(69.85% 0.157 259)
XYZxyz(34.6593, 33.6993, 98.4248)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9DFE #FEC05F
analogous
#5FECFE #5F9DFE #705FFE
triadic
#5F9DFE #FE5F9D #9DFE5F
tetradic
#5F9DFE #FE5FEC #FEC05F #5FFE70
square
#5F9DFE #FE5FEC #FEC05F #5FFE70
split-complementary
#5F9DFE #FE705F #ECFE5F
monochromatic
#0159E1 #2278FE #5F9DFE #9CC2FE #D9E8FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9DFE#FFFFFF#000000##000000
##5F9DFE1.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)
#72A5FF
Deuteranopia (green-blind)
#5C96FC
Tritanopia (blue-blind)
#00B3C1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9dfe;
/* rgb */ color: rgb(95, 157, 254);
/* oklch */ color: oklch(69.9% 0.157 259.0);
Tailwind
colors: {
  custom: {
    50: '#9ab9ff',
    500: '#5f9dfe',
    950: '#000000',
  },
}
SCSS
$custom: #5f9dfe;
$custom-light: #9ab9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9dfe",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 216.604,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69852,
    "c": 0.15696,
    "h": 259
  },
  "luminance": 0.33703
}

Semantic roles & 50–950 ramp

primary
#5F9DFE
secondary
#F4E2C4
accent
#8C00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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