#5F97E4#5F97E4

#5F97E4 is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.2% C 0.129 H 256.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5F97E4
RGBrgb(95, 151, 228)
HSLhsl(215, 71%, 63%)
HSVhsv(215, 58%, 89%)
CMYKcmyk(58.3%, 33.8%, 0%, 10.6%)
CIE-LABlab(61.80, 4.29, -44.54)
CIE-LCHlch(61.80, 44.75, 275.50°)
OKLaboklab(67.15% -0.0298 -0.1259)
OKLCHoklch(67.15% 0.129 256.7)
XYZxyz(29.7846, 30.1650, 77.6366)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97E4 #E4AC5F
analogous
#5FD9E4 #5F97E4 #695FE4
triadic
#5F97E4 #E45F97 #97E45F
tetradic
#5F97E4 #E45FD9 #E4AC5F #5FE469
square
#5F97E4 #E45FD9 #E4AC5F #5FE469
split-complementary
#5F97E4 #E4695F #D9E45F
monochromatic
#1D59AC #2B75DB #5F97E4 #93B9ED #C8DBF6

Accessibility & contrast

On white

2.99
#5F97E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5F97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F97E4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97E4#FFFFFF#000000##000000
##5F97E41.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779CE7
Deuteranopia (green-blind)
#6690E2
Tritanopia (blue-blind)
#00A8B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f97e4;
/* rgb */ color: rgb(95, 151, 228);
/* oklch */ color: oklch(67.2% 0.129 256.7);
Tailwind
colors: {
  custom: {
    50: '#96b5ed',
    500: '#5f97e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f97e4;
$custom-light: #96b5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97e4",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 214.737,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.12942,
    "h": 256.7
  },
  "luminance": 0.30168
}

Semantic roles & 50–950 ramp

primary
#5F97E4
secondary
#E7D3B8
accent
#8212D3
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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