#5F96ED#5F96ED

#5F96ED is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.4% C 0.142 H 259.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5F96ED
RGBrgb(95, 150, 237)
HSLhsl(217, 80%, 65%)
HSVhsv(217, 60%, 93%)
CMYKcmyk(59.9%, 36.7%, 0%, 7.1%)
CIE-LABlab(61.96, 7.79, -49.26)
CIE-LCHlch(61.96, 49.87, 278.98°)
OKLaboklab(67.43% -0.0266 -0.1397)
OKLCHoklch(67.43% 0.142 259.2)
XYZxyz(30.9063, 30.3573, 84.3352)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96ED #EDB65F
analogous
#5FDDED #5F96ED #6F5FED
triadic
#5F96ED #ED5F96 #96ED5F
tetradic
#5F96ED #ED5FDD #EDB65F #5FED6F
square
#5F96ED #ED5FDD #EDB65F #5FED6F
split-complementary
#5F96ED #ED6F5F #DDED5F
monochromatic
#1556BC #2872E7 #5F96ED #96BAF3 #CDDEF9

Accessibility & contrast

On white

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

On black

7.07
#5F96ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96ED
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96ED#FFFFFF#000000##000000
##5F96ED1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF1
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f96ed;
/* rgb */ color: rgb(95, 150, 237);
/* oklch */ color: oklch(67.4% 0.142 259.2);
Tailwind
colors: {
  custom: {
    50: '#97b4f3',
    500: '#5f96ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f96ed;
$custom-light: #97b4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96ed",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 216.761,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67426,
    "c": 0.14221,
    "h": 259.2
  },
  "luminance": 0.3036
}

Semantic roles & 50–950 ramp

primary
#5F96ED
secondary
#ECD9BC
accent
#8A09DC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F96ED

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

Preview Lab → · Contrast checker → · Palette generator →

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