#5F97EE#5F97EE

#5F97EE is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.7% C 0.142 H 258.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5F97EE
RGBrgb(95, 151, 238)
HSLhsl(217, 81%, 65%)
HSVhsv(217, 60%, 93%)
CMYKcmyk(60.1%, 36.6%, 0%, 6.7%)
CIE-LABlab(62.28, 7.53, -49.30)
CIE-LCHlch(62.28, 49.87, 278.68°)
OKLaboklab(67.69% -0.0274 -0.1398)
OKLCHoklch(67.69% 0.142 258.9)
XYZxyz(31.2131, 30.7364, 85.1602)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97EE #EEB65F
analogous
#5FDFEE #5F97EE #6E5FEE
triadic
#5F97EE #EE5F97 #97EE5F
tetradic
#5F97EE #EE5FDF #EEB65F #5FEE6E
square
#5F97EE #EE5FDF #EEB65F #5FEE6E
split-complementary
#5F97EE #EE6E5F #DFEE5F
monochromatic
#1457BE #2873E8 #5F97EE #96BBF4 #CEDFFA

Accessibility & contrast

On white

2.94
#5F97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5F97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F97EE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97EE#FFFFFF#000000##000000
##5F97EE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#5F90EC
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f97ee;
/* rgb */ color: rgb(95, 151, 238);
/* oklch */ color: oklch(67.7% 0.142 258.9);
Tailwind
colors: {
  custom: {
    50: '#98b5f4',
    500: '#5f97ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f97ee;
$custom-light: #98b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97ee",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 216.503,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67693,
    "c": 0.14246,
    "h": 258.9
  },
  "luminance": 0.30739
}

Semantic roles & 50–950 ramp

primary
#5F97EE
secondary
#ECDABC
accent
#8A08DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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