#5F96F9#5F96F9

#5F96F9 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.1% C 0.158 H 261.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5F96F9
RGBrgb(95, 150, 249)
HSLhsl(219, 93%, 67%)
HSVhsv(219, 62%, 98%)
CMYKcmyk(61.8%, 39.8%, 0%, 2.4%)
CIE-LABlab(62.58, 11.73, -54.88)
CIE-LCHlch(62.58, 56.12, 282.06°)
OKLaboklab(68.1% -0.024 -0.1561)
OKLCHoklch(68.1% 0.158 261.3)
XYZxyz(32.7185, 31.0822, 93.8794)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96F9 #F9C25F
analogous
#5FE3F9 #5F96F9 #755FF9
triadic
#5F96F9 #F95F96 #96F95F
tetradic
#5F96F9 #F95FE3 #F9C25F #5FF975
square
#5F96F9 #F95FE3 #F9C25F #5FF975
split-complementary
#5F96F9 #F9755F #E3F95F
monochromatic
#0851D6 #246FF7 #5F96F9 #9ABDFB #D5E3FD

Accessibility & contrast

On white

2.91
#5F96F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5F96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96F9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96F9#FFFFFF#000000##000000
##5F96F91.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f96f9;
/* rgb */ color: rgb(95, 150, 249);
/* oklch */ color: oklch(68.1% 0.158 261.3);
Tailwind
colors: {
  custom: {
    50: '#99b4fc',
    500: '#5f96f9',
    950: '#000000',
  },
}
SCSS
$custom: #5f96f9;
$custom-light: #99b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96f9",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 218.571,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.15798,
    "h": 261.3
  },
  "luminance": 0.31085
}

Semantic roles & 50–950 ramp

primary
#5F96F9
secondary
#F2E1C2
accent
#9400E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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