#5F96E5#5F96E5

#5F96E5 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.0% C 0.132 H 257.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5F96E5
RGBrgb(95, 150, 229)
HSLhsl(215, 72%, 64%)
HSVhsv(215, 59%, 90%)
CMYKcmyk(58.5%, 34.5%, 0%, 10.2%)
CIE-LABlab(61.57, 5.19, -45.46)
CIE-LCHlch(61.57, 45.75, 276.51°)
OKLaboklab(66.99% -0.0285 -0.1286)
OKLCHoklch(66.99% 0.132 257.5)
XYZxyz(29.7635, 29.9001, 78.3164)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96E5 #E5AE5F
analogous
#5FD9E5 #5F96E5 #6B5FE5
triadic
#5F96E5 #E55F96 #96E55F
tetradic
#5F96E5 #E55FD9 #E5AE5F #5FE56B
square
#5F96E5 #E55FD9 #E5AE5F #5FE56B
split-complementary
#5F96E5 #E56B5F #D9E55F
monochromatic
#1C58AD #2A73DC #5F96E5 #94B9EE #C8DBF6

Accessibility & contrast

On white

3.01
#5F96E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5F96E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F96E5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96E5#FFFFFF#000000##000000
##5F96E51.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759CE8
Deuteranopia (green-blind)
#638FE3
Tritanopia (blue-blind)
#00A8B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f96e5;
/* rgb */ color: rgb(95, 150, 229);
/* oklch */ color: oklch(67.0% 0.132 257.5);
Tailwind
colors: {
  custom: {
    50: '#96b4ed',
    500: '#5f96e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f96e5;
$custom-light: #96b4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96e5",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 229
  },
  "hsl": {
    "h": 215.373,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.13173,
    "h": 257.5
  },
  "luminance": 0.29903
}

Semantic roles & 50–950 ramp

primary
#5F96E5
secondary
#E8D4B8
accent
#8411D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F96E5

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

Preview Lab → · Contrast checker → · Palette generator →

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