#5F98F7#5F98F7

#5F98F7 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.153 H 260.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5F98F7
RGBrgb(95, 152, 247)
HSLhsl(218, 90%, 67%)
HSVhsv(218, 62%, 97%)
CMYKcmyk(61.5%, 38.5%, 0%, 3.1%)
CIE-LABlab(63.01, 9.89, -53.09)
CIE-LCHlch(63.01, 54.00, 280.55°)
OKLaboklab(68.41% -0.0264 -0.1509)
OKLCHoklch(68.41% 0.153 260.1)
XYZxyz(32.7301, 31.6018, 92.3526)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98F7 #F7BE5F
analogous
#5FE4F7 #5F98F7 #725FF7
triadic
#5F98F7 #F75F98 #98F75F
tetradic
#5F98F7 #F75FE4 #F7BE5F #5FF772
square
#5F98F7 #F75FE4 #F7BE5F #5FF772
split-complementary
#5F98F7 #F7725F #E4F75F
monochromatic
#0A55D1 #2572F4 #5F98F7 #99BEFA #D4E3FD

Accessibility & contrast

On white

2.87
#5F98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#5F98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98F7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98F7#FFFFFF#000000##000000
##5F98F71.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f98f7;
/* rgb */ color: rgb(95, 152, 247);
/* oklch */ color: oklch(68.4% 0.153 260.1);
Tailwind
colors: {
  custom: {
    50: '#99b5fa',
    500: '#5f98f7',
    950: '#000000',
  },
}
SCSS
$custom: #5f98f7;
$custom-light: #99b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98f7",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 217.5,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68407,
    "c": 0.15318,
    "h": 260.1
  },
  "luminance": 0.31605
}

Semantic roles & 50–950 ramp

primary
#5F98F7
secondary
#F1DFC1
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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