#5D98F0#5D98F0

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

Color values

HEX#5D98F0
RGBrgb(93, 152, 240)
HSLhsl(216, 83%, 65%)
HSVhsv(216, 61%, 94%)
CMYKcmyk(61.2%, 36.7%, 0%, 5.9%)
CIE-LABlab(62.57, 7.23, -49.95)
CIE-LCHlch(62.57, 50.48, 278.23°)
OKLaboklab(67.92% -0.0296 -0.1417)
OKLCHoklch(67.92% 0.145 258.2)
XYZxyz(31.4650, 31.0720, 86.7605)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98F0 #F0B55D
analogous
#5DE2F0 #5D98F0 #6B5DF0
triadic
#5D98F0 #F05D98 #98F05D
tetradic
#5D98F0 #F05DE2 #F0B55D #5DF06B
square
#5D98F0 #F05DE2 #F0B55D #5DF06B
split-complementary
#5D98F0 #F06B5D #E2F05D
monochromatic
#1258C1 #2574EB #5D98F0 #95BCF5 #CDDFFA

Accessibility & contrast

On white

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

On black

7.22
#5D98F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5D98F0
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98F0#FFFFFF#000000##000000
##5D98F01.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF4
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5d98f0;
/* rgb */ color: rgb(93, 152, 240);
/* oklch */ color: oklch(67.9% 0.145 258.2);
Tailwind
colors: {
  custom: {
    50: '#97b5f5',
    500: '#5d98f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d98f0;
$custom-light: #97b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98f0",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 240
  },
  "hsl": {
    "h": 215.918,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67922,
    "c": 0.14481,
    "h": 258.2
  },
  "luminance": 0.31075
}

Semantic roles & 50–950 ramp

primary
#5D98F0
secondary
#EDD9BC
accent
#8806DF
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5D98F0

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

Preview Lab → · Contrast checker → · Palette generator →

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