#5F96EA#5F96EA

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

Color values

HEX#5F96EA
RGBrgb(95, 150, 234)
HSLhsl(216, 77%, 65%)
HSVhsv(216, 59%, 92%)
CMYKcmyk(59.4%, 35.9%, 0%, 8.2%)
CIE-LABlab(61.81, 6.81, -47.84)
CIE-LCHlch(61.81, 48.32, 278.10°)
OKLaboklab(67.26% -0.0273 -0.1355)
OKLCHoklch(67.26% 0.138 258.6)
XYZxyz(30.4717, 30.1834, 82.0461)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96EA #EAB35F
analogous
#5FDCEA #5F96EA #6E5FEA
triadic
#5F96EA #EA5F96 #96EA5F
tetradic
#5F96EA #EA5FDC #EAB35F #5FEA6E
square
#5F96EA #EA5FDC #EAB35F #5FEA6E
split-complementary
#5F96EA #EA6E5F #DCEA5F
monochromatic
#1857B7 #2972E3 #5F96EA #95BAF1 #CBDDF8

Accessibility & contrast

On white

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

On black

7.04
#5F96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96EA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96EA#FFFFFF#000000##000000
##5F96EA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CED
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f96ea;
/* rgb */ color: rgb(95, 150, 234);
/* oklch */ color: oklch(67.3% 0.138 258.6);
Tailwind
colors: {
  custom: {
    50: '#97b4f1',
    500: '#5f96ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f96ea;
$custom-light: #97b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96ea",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 216.259,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.13827,
    "h": 258.6
  },
  "luminance": 0.30186
}

Semantic roles & 50–950 ramp

primary
#5F96EA
secondary
#EAD7BA
accent
#880CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5F96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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