#5F96EC#5F96EC

#5F96EC is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.141 H 259.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5F96EC
RGBrgb(95, 150, 236)
HSLhsl(217, 79%, 65%)
HSVhsv(217, 60%, 93%)
CMYKcmyk(59.7%, 36.4%, 0%, 7.5%)
CIE-LABlab(61.91, 7.46, -48.78)
CIE-LCHlch(61.91, 49.35, 278.70°)
OKLaboklab(67.37% -0.0268 -0.1383)
OKLCHoklch(67.37% 0.141 259)
XYZxyz(30.7607, 30.2990, 83.5679)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96EC #ECB55F
analogous
#5FDCEC #5F96EC #6F5FEC
triadic
#5F96EC #EC5F96 #96EC5F
tetradic
#5F96EC #EC5FDC #ECB55F #5FEC6F
square
#5F96EC #EC5FDC #ECB55F #5FEC6F
split-complementary
#5F96EC #EC6F5F #DCEC5F
monochromatic
#1656BA #2872E6 #5F96EC #96BAF2 #CCDEF9

Accessibility & contrast

On white

2.97
#5F96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5F96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96EC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96EC#FFFFFF#000000##000000
##5F96EC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#5F90EA
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f96ec;
/* rgb */ color: rgb(95, 150, 236);
/* oklch */ color: oklch(67.4% 0.141 259.0);
Tailwind
colors: {
  custom: {
    50: '#97b4f2',
    500: '#5f96ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f96ec;
$custom-light: #97b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96ec",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 216.596,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6737,
    "c": 0.1409,
    "h": 259
  },
  "luminance": 0.30302
}

Semantic roles & 50–950 ramp

primary
#5F96EC
secondary
#EBD9BB
accent
#8A0ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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