#5F97F7#5F97F7

#5F97F7 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.2% C 0.154 H 260.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5F97F7
RGBrgb(95, 151, 247)
HSLhsl(218, 90%, 67%)
HSVhsv(218, 62%, 97%)
CMYKcmyk(61.5%, 38.9%, 0%, 3.1%)
CIE-LABlab(62.74, 10.48, -53.52)
CIE-LCHlch(62.74, 54.54, 281.08°)
OKLaboklab(68.2% -0.0254 -0.1522)
OKLCHoklch(68.2% 0.154 260.5)
XYZxyz(32.5685, 31.2785, 92.2987)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97F7 #F7BF5F
analogous
#5FE3F7 #5F97F7 #735FF7
triadic
#5F97F7 #F75F97 #97F75F
tetradic
#5F97F7 #F75FE3 #F7BF5F #5FF773
square
#5F97F7 #F75FE3 #F7BF5F #5FF773
split-complementary
#5F97F7 #F7735F #E3F75F
monochromatic
#0A54D1 #2571F4 #5F97F7 #99BDFA #D4E3FD

Accessibility & contrast

On white

2.89
#5F97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#5F97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F97F7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97F7#FFFFFF#000000##000000
##5F97F71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f97f7;
/* rgb */ color: rgb(95, 151, 247);
/* oklch */ color: oklch(68.2% 0.154 260.5);
Tailwind
colors: {
  custom: {
    50: '#99b5fa',
    500: '#5f97f7',
    950: '#000000',
  },
}
SCSS
$custom: #5f97f7;
$custom-light: #99b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97f7",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 217.895,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68198,
    "c": 0.15427,
    "h": 260.5
  },
  "luminance": 0.31282
}

Semantic roles & 50–950 ramp

primary
#5F97F7
secondary
#F1DFC1
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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