#5F96FE#5F96FE

#5F96FE is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.4% C 0.165 H 262.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5F96FE
RGBrgb(95, 150, 254)
HSLhsl(219, 99%, 68%)
HSVhsv(219, 63%, 100%)
CMYKcmyk(62.6%, 40.9%, 0%, 0.4%)
CIE-LABlab(62.84, 13.38, -57.19)
CIE-LCHlch(62.84, 58.74, 283.17°)
OKLaboklab(68.4% -0.023 -0.1629)
OKLCHoklch(68.4% 0.165 262)
XYZxyz(33.5088, 31.3982, 98.0413)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96FE #FEC75F
analogous
#5FE6FE #5F96FE #775FFE
triadic
#5F96FE #FE5F96 #96FE5F
tetradic
#5F96FE #FE5FE6 #FEC75F #5FFE77
square
#5F96FE #FE5FE6 #FEC75F #5FFE77
split-complementary
#5F96FE #FE775F #E6FE5F
monochromatic
#014FE1 #226EFE #5F96FE #9CBEFE #D9E6FF

Accessibility & contrast

On white

2.88
#5F96FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5F96FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96FE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96FE#FFFFFF#000000##000000
##5F96FE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#4F91FC
Tritanopia (blue-blind)
#00AEBE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f96fe;
/* rgb */ color: rgb(95, 150, 254);
/* oklch */ color: oklch(68.4% 0.165 262.0);
Tailwind
colors: {
  custom: {
    50: '#9ab4ff',
    500: '#5f96fe',
    950: '#000000',
  },
}
SCSS
$custom: #5f96fe;
$custom-light: #9ab4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96fe",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 219.245,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68395,
    "c": 0.16456,
    "h": 262
  },
  "luminance": 0.31401
}

Semantic roles & 50–950 ramp

primary
#5F96FE
secondary
#F4E4C4
accent
#9600E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F96FE

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

Preview Lab → · Contrast checker → · Palette generator →

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