#5F98EB#5F98EB

#5F98EB is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.7% C 0.138 H 257.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5F98EB
RGBrgb(95, 152, 235)
HSLhsl(216, 78%, 65%)
HSVhsv(216, 60%, 92%)
CMYKcmyk(59.6%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.41, 5.97, -47.44)
CIE-LCHlch(62.41, 47.82, 277.17°)
OKLaboklab(67.74% -0.0292 -0.1344)
OKLCHoklch(67.74% 0.138 257.8)
XYZxyz(30.9377, 30.8848, 82.9121)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98EB #EBB25F
analogous
#5FDEEB #5F98EB #6C5FEB
triadic
#5F98EB #EB5F98 #98EB5F
tetradic
#5F98EB #EB5FDE #EBB25F #5FEB6C
square
#5F98EB #EB5FDE #EBB25F #5FEB6C
split-complementary
#5F98EB #EB6C5F #DEEB5F
monochromatic
#1759B9 #2975E4 #5F98EB #95BBF2 #CCDEF9

Accessibility & contrast

On white

2.93
#5F98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5F98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98EB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98EB#FFFFFF#000000##000000
##5F98EB1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEE
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f98eb;
/* rgb */ color: rgb(95, 152, 235);
/* oklch */ color: oklch(67.7% 0.138 257.8);
Tailwind
colors: {
  custom: {
    50: '#97b5f2',
    500: '#5f98eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f98eb;
$custom-light: #97b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98eb",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 215.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67743,
    "c": 0.13751,
    "h": 257.8
  },
  "luminance": 0.30888
}

Semantic roles & 50–950 ramp

primary
#5F98EB
secondary
#EBD7BB
accent
#860BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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