#5F96E7#5F96E7

#5F96E7 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.1% C 0.134 H 258.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5F96E7
RGBrgb(95, 150, 231)
HSLhsl(216, 74%, 64%)
HSVhsv(216, 59%, 91%)
CMYKcmyk(58.9%, 35.1%, 0%, 9.4%)
CIE-LABlab(61.66, 5.84, -46.41)
CIE-LCHlch(61.66, 46.78, 277.17°)
OKLaboklab(67.1% -0.028 -0.1314)
OKLCHoklch(67.1% 0.134 258)
XYZxyz(30.0444, 30.0125, 79.7955)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96E7 #E7B05F
analogous
#5FDAE7 #5F96E7 #6C5FE7
triadic
#5F96E7 #E75F96 #96E75F
tetradic
#5F96E7 #E75FDA #E7B05F #5FE76C
square
#5F96E7 #E75FDA #E7B05F #5FE76C
split-complementary
#5F96E7 #E76C5F #DAE75F
monochromatic
#1B57B1 #2A73DF #5F96E7 #94B9EF #C9DCF7

Accessibility & contrast

On white

3.00
#5F96E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5F96E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96E7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96E7#FFFFFF#000000##000000
##5F96E71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEA
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f96e7;
/* rgb */ color: rgb(95, 150, 231);
/* oklch */ color: oklch(67.1% 0.134 258.0);
Tailwind
colors: {
  custom: {
    50: '#97b4ef',
    500: '#5f96e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f96e7;
$custom-light: #97b4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96e7",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 231
  },
  "hsl": {
    "h": 215.735,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67098,
    "c": 0.13435,
    "h": 258
  },
  "luminance": 0.30015
}

Semantic roles & 50–950 ramp

primary
#5F96E7
secondary
#E9D5B9
accent
#860FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F96E7

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

Preview Lab → · Contrast checker → · Palette generator →

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