#5F98E7#5F98E7

#5F98E7 is a light, vivid cyan. Relative luminance 0.307; OKLCH L 67.5% C 0.132 H 256.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5F98E7
RGBrgb(95, 152, 231)
HSLhsl(215, 74%, 64%)
HSVhsv(215, 59%, 91%)
CMYKcmyk(58.9%, 34.2%, 0%, 9.4%)
CIE-LABlab(62.22, 4.67, -45.54)
CIE-LCHlch(62.22, 45.78, 275.86°)
OKLaboklab(67.53% -0.0301 -0.1288)
OKLCHoklch(67.53% 0.132 256.8)
XYZxyz(30.3663, 30.6562, 79.9028)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98E7 #E7AE5F
analogous
#5FDCE7 #5F98E7 #6A5FE7
triadic
#5F98E7 #E75F98 #98E75F
tetradic
#5F98E7 #E75FDC #E7AE5F #5FE76A
square
#5F98E7 #E75FDC #E7AE5F #5FE76A
split-complementary
#5F98E7 #E76A5F #DCE75F
monochromatic
#1B5AB1 #2A76DF #5F98E7 #94BAEF #C9DDF7

Accessibility & contrast

On white

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

On black

7.13
#5F98E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98E7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98E7#FFFFFF#000000##000000
##5F98E71.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DEA
Deuteranopia (green-blind)
#6591E5
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f98e7;
/* rgb */ color: rgb(95, 152, 231);
/* oklch */ color: oklch(67.5% 0.132 256.8);
Tailwind
colors: {
  custom: {
    50: '#97b6ef',
    500: '#5f98e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f98e7;
$custom-light: #97b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98e7",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 214.853,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67528,
    "c": 0.13231,
    "h": 256.8
  },
  "luminance": 0.30659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F98E7

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

Preview Lab → · Contrast checker → · Palette generator →

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