#5F97EF#5F97EF

#5F97EF is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.144 H 259.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5F97EF
RGBrgb(95, 151, 239)
HSLhsl(217, 82%, 65%)
HSVhsv(217, 60%, 94%)
CMYKcmyk(60.3%, 36.8%, 0%, 6.3%)
CIE-LABlab(62.33, 7.85, -49.77)
CIE-LCHlch(62.33, 50.38, 278.97°)
OKLaboklab(67.75% -0.0272 -0.1412)
OKLCHoklch(67.75% 0.144 259.1)
XYZxyz(31.3604, 30.7953, 85.9361)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97EF #EFB75F
analogous
#5FDFEF #5F97EF #6F5FEF
triadic
#5F97EF #EF5F97 #97EF5F
tetradic
#5F97EF #EF5FDF #EFB75F #5FEF6F
square
#5F97EF #EF5FDF #EFB75F #5FEF6F
split-complementary
#5F97EF #EF6F5F #DFEF5F
monochromatic
#1357C0 #2773E9 #5F97EF #97BBF5 #CEDFFA

Accessibility & contrast

On white

2.93
#5F97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#5F97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F97EF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97EF#FFFFFF#000000##000000
##5F97EF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f97ef;
/* rgb */ color: rgb(95, 151, 239);
/* oklch */ color: oklch(67.7% 0.144 259.1);
Tailwind
colors: {
  custom: {
    50: '#98b5f4',
    500: '#5f97ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f97ef;
$custom-light: #98b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97ef",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 216.667,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67748,
    "c": 0.14377,
    "h": 259.1
  },
  "luminance": 0.30798
}

Semantic roles & 50–950 ramp

primary
#5F97EF
secondary
#EDDABD
accent
#8B07DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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