#5F96F5#5F96F5

#5F96F5 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.9% C 0.153 H 260.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5F96F5
RGBrgb(95, 150, 245)
HSLhsl(218, 88%, 67%)
HSVhsv(218, 61%, 96%)
CMYKcmyk(61.2%, 38.8%, 0%, 3.9%)
CIE-LABlab(62.37, 10.41, -53.02)
CIE-LCHlch(62.37, 54.03, 281.11°)
OKLaboklab(67.87% -0.0248 -0.1507)
OKLCHoklch(67.87% 0.153 260.6)
XYZxyz(32.1013, 30.8353, 90.6286)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96F5 #F5BE5F
analogous
#5FE1F5 #5F96F5 #735FF5
triadic
#5F96F5 #F55F96 #96F55F
tetradic
#5F96F5 #F55FE1 #F5BE5F #5FF573
square
#5F96F5 #F55FE1 #F5BE5F #5FF573
split-complementary
#5F96F5 #F5735F #E1F55F
monochromatic
#0D53CD #2570F1 #5F96F5 #99BCF9 #D2E2FC

Accessibility & contrast

On white

2.93
#5F96F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#5F96F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96F5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96F5#FFFFFF#000000##000000
##5F96F51.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF9
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f96f5;
/* rgb */ color: rgb(95, 150, 245);
/* oklch */ color: oklch(67.9% 0.153 260.6);
Tailwind
colors: {
  custom: {
    50: '#99b4f9',
    500: '#5f96f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f96f5;
$custom-light: #99b4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96f5",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 245
  },
  "hsl": {
    "h": 218,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67874,
    "c": 0.15272,
    "h": 260.6
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#5F96F5
secondary
#F0DEC0
accent
#9101E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F96F5

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

Preview Lab → · Contrast checker → · Palette generator →

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