#5F98EE#5F98EE

#5F98EE is a light, vivid blue. Relative luminance 0.311; OKLCH L 67.9% C 0.141 H 258.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5F98EE
RGBrgb(95, 152, 238)
HSLhsl(216, 81%, 65%)
HSVhsv(216, 60%, 93%)
CMYKcmyk(60.1%, 36.1%, 0%, 6.7%)
CIE-LABlab(62.56, 6.94, -48.86)
CIE-LCHlch(62.56, 49.36, 278.09°)
OKLaboklab(67.91% -0.0284 -0.1385)
OKLCHoklch(67.91% 0.141 258.4)
XYZxyz(31.3747, 31.0596, 85.2140)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98EE #EEB55F
analogous
#5FDFEE #5F98EE #6D5FEE
triadic
#5F98EE #EE5F98 #98EE5F
tetradic
#5F98EE #EE5FDF #EEB55F #5FEE6D
square
#5F98EE #EE5FDF #EEB55F #5FEE6D
split-complementary
#5F98EE #EE6D5F #DFEE5F
monochromatic
#1458BE #2874E8 #5F98EE #96BCF4 #CEDFFA

Accessibility & contrast

On white

2.91
#5F98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5F98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98EE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98EE#FFFFFF#000000##000000
##5F98EE1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f98ee;
/* rgb */ color: rgb(95, 152, 238);
/* oklch */ color: oklch(67.9% 0.141 258.4);
Tailwind
colors: {
  custom: {
    50: '#98b5f4',
    500: '#5f98ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f98ee;
$custom-light: #98b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98ee",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 216.084,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67906,
    "c": 0.14142,
    "h": 258.4
  },
  "luminance": 0.31062
}

Semantic roles & 50–950 ramp

primary
#5F98EE
secondary
#ECD9BC
accent
#8808DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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