#5E98F8#5E98F8

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

Color values

HEX#5E98F8
RGBrgb(94, 152, 248)
HSLhsl(217, 92%, 67%)
HSVhsv(217, 62%, 97%)
CMYKcmyk(62.1%, 38.7%, 0%, 2.7%)
CIE-LABlab(63.02, 10.04, -53.63)
CIE-LCHlch(63.02, 54.56, 280.61°)
OKLaboklab(68.42% -0.027 -0.1525)
OKLCHoklch(68.42% 0.155 260)
XYZxyz(32.7816, 31.6104, 93.1626)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98F8 #F8BE5E
analogous
#5EE5F8 #5E98F8 #715EF8
triadic
#5E98F8 #F85E98 #98F85E
tetradic
#5E98F8 #F85EE5 #F8BE5E #5EF871
square
#5E98F8 #F85EE5 #F8BE5E #5EF871
split-complementary
#5E98F8 #F8715E #E5F85E
monochromatic
#0955D2 #2372F5 #5E98F8 #99BEFB #D3E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E98F8#FFFFFF#000000##000000
##5E98F81.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)
#6EA0FC
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5e98f8;
/* rgb */ color: rgb(94, 152, 248);
/* oklch */ color: oklch(68.4% 0.155 260.0);
Tailwind
colors: {
  custom: {
    50: '#98b5fb',
    500: '#5e98f8',
    950: '#000000',
  },
}
SCSS
$custom: #5e98f8;
$custom-light: #98b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98f8",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 217.403,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68417,
    "c": 0.15486,
    "h": 260
  },
  "luminance": 0.31613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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