#5F96EB#5F96EB

#5F96EB is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.3% C 0.140 H 258.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5F96EB
RGBrgb(95, 150, 235)
HSLhsl(216, 78%, 65%)
HSVhsv(216, 60%, 92%)
CMYKcmyk(59.6%, 36.2%, 0%, 7.8%)
CIE-LABlab(61.86, 7.14, -48.31)
CIE-LCHlch(61.86, 48.84, 278.40°)
OKLaboklab(67.32% -0.0271 -0.1369)
OKLCHoklch(67.32% 0.14 258.8)
XYZxyz(30.6158, 30.2410, 82.8049)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96EB #EBB45F
analogous
#5FDCEB #5F96EB #6E5FEB
triadic
#5F96EB #EB5F96 #96EB5F
tetradic
#5F96EB #EB5FDC #EBB45F #5FEB6E
square
#5F96EB #EB5FDC #EBB45F #5FEB6E
split-complementary
#5F96EB #EB6E5F #DCEB5F
monochromatic
#1756B9 #2972E4 #5F96EB #95BAF2 #CCDDF9

Accessibility & contrast

On white

2.98
#5F96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5F96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96EB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96EB#FFFFFF#000000##000000
##5F96EB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEE
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f96eb;
/* rgb */ color: rgb(95, 150, 235);
/* oklch */ color: oklch(67.3% 0.140 258.8);
Tailwind
colors: {
  custom: {
    50: '#97b4f2',
    500: '#5f96eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f96eb;
$custom-light: #97b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96eb",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 216.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67316,
    "c": 0.13958,
    "h": 258.8
  },
  "luminance": 0.30244
}

Semantic roles & 50–950 ramp

primary
#5F96EB
secondary
#EBD8BB
accent
#890BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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