#5F96FC#5F96FC

#5F96FC is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.3% C 0.162 H 261.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5F96FC
RGBrgb(95, 150, 252)
HSLhsl(219, 96%, 68%)
HSVhsv(219, 62%, 99%)
CMYKcmyk(62.3%, 40.5%, 0%, 1.2%)
CIE-LABlab(62.74, 12.72, -56.27)
CIE-LCHlch(62.74, 57.69, 282.74°)
OKLaboklab(68.28% -0.0234 -0.1602)
OKLCHoklch(68.28% 0.162 261.7)
XYZxyz(33.1902, 31.2708, 96.3634)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96FC #FCC55F
analogous
#5FE4FC #5F96FC #765FFC
triadic
#5F96FC #FC5F96 #96FC5F
tetradic
#5F96FC #FC5FE4 #FCC55F #5FFC76
square
#5F96FC #FC5FE4 #FCC55F #5FFC76
split-complementary
#5F96FC #FC765F #E4FC5F
monochromatic
#0450DC #236FFB #5F96FC #9BBDFD #D7E5FE

Accessibility & contrast

On white

2.89
#5F96FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#5F96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96FC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96FC#FFFFFF#000000##000000
##5F96FC1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#5191FA
Tritanopia (blue-blind)
#00ADBD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f96fc;
/* rgb */ color: rgb(95, 150, 252);
/* oklch */ color: oklch(68.3% 0.162 261.7);
Tailwind
colors: {
  custom: {
    50: '#9ab4fe',
    500: '#5f96fc',
    950: '#000000',
  },
}
SCSS
$custom: #5f96fc;
$custom-light: #9ab4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96fc",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 218.981,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68278,
    "c": 0.16193,
    "h": 261.7
  },
  "luminance": 0.31274
}

Semantic roles & 50–950 ramp

primary
#5F96FC
secondary
#F3E3C3
accent
#9500E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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