#5F98E9#5F98E9

#5F98E9 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.6% C 0.135 H 257.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5F98E9
RGBrgb(95, 152, 233)
HSLhsl(215, 76%, 64%)
HSVhsv(215, 59%, 91%)
CMYKcmyk(59.2%, 34.8%, 0%, 8.6%)
CIE-LABlab(62.31, 5.32, -46.49)
CIE-LCHlch(62.31, 46.80, 276.53°)
OKLaboklab(67.64% -0.0296 -0.1316)
OKLCHoklch(67.64% 0.135 257.3)
XYZxyz(30.6503, 30.7699, 81.3989)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98E9 #E9B05F
analogous
#5FDDE9 #5F98E9 #6B5FE9
triadic
#5F98E9 #E95F98 #98E95F
tetradic
#5F98E9 #E95FDD #E9B05F #5FE96B
square
#5F98E9 #E95FDD #E9B05F #5FE96B
split-complementary
#5F98E9 #E96B5F #DDE95F
monochromatic
#1959B5 #2975E2 #5F98E9 #95BBF0 #CBDDF8

Accessibility & contrast

On white

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

On black

7.15
#5F98E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98E9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98E9#FFFFFF#000000##000000
##5F98E91.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EEC
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f98e9;
/* rgb */ color: rgb(95, 152, 233);
/* oklch */ color: oklch(67.6% 0.135 257.3);
Tailwind
colors: {
  custom: {
    50: '#97b5f0',
    500: '#5f98e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f98e9;
$custom-light: #97b5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98e9",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 233
  },
  "hsl": {
    "h": 215.217,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67635,
    "c": 0.13491,
    "h": 257.3
  },
  "luminance": 0.30773
}

Semantic roles & 50–950 ramp

primary
#5F98E9
secondary
#EAD6BA
accent
#840DD8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F98E9

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

Preview Lab → · Contrast checker → · Palette generator →

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