#5F97E7#5F97E7

#5F97E7 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.3% C 0.133 H 257.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5F97E7
RGBrgb(95, 151, 231)
HSLhsl(215, 74%, 64%)
HSVhsv(215, 59%, 91%)
CMYKcmyk(58.9%, 34.6%, 0%, 9.4%)
CIE-LABlab(61.94, 5.25, -45.98)
CIE-LCHlch(61.94, 46.28, 276.52°)
OKLaboklab(67.31% -0.0291 -0.1301)
OKLCHoklch(67.31% 0.133 257.4)
XYZxyz(30.2046, 30.3330, 79.8489)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97E7 #E7AF5F
analogous
#5FDBE7 #5F97E7 #6B5FE7
triadic
#5F97E7 #E75F97 #97E75F
tetradic
#5F97E7 #E75FDB #E7AF5F #5FE76B
square
#5F97E7 #E75FDB #E7AF5F #5FE76B
split-complementary
#5F97E7 #E76B5F #DBE75F
monochromatic
#1B59B1 #2A74DF #5F97E7 #94BAEF #C9DCF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F97E7#FFFFFF#000000##000000
##5F97E71.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)
#759DEA
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#00A9B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f97e7;
/* rgb */ color: rgb(95, 151, 231);
/* oklch */ color: oklch(67.3% 0.133 257.4);
Tailwind
colors: {
  custom: {
    50: '#97b5ef',
    500: '#5f97e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f97e7;
$custom-light: #97b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97e7",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 215.294,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67313,
    "c": 0.13332,
    "h": 257.4
  },
  "luminance": 0.30336
}

Semantic roles & 50–950 ramp

primary
#5F97E7
secondary
#E9D5B9
accent
#840FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F97E7

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

Preview Lab → · Contrast checker → · Palette generator →

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