#5E98EF#5E98EF

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

Color values

HEX#5E98EF
RGBrgb(94, 152, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 61%, 94%)
CMYKcmyk(60.7%, 36.4%, 0%, 6.3%)
CIE-LABlab(62.56, 7.08, -49.41)
CIE-LCHlch(62.56, 49.92, 278.16°)
OKLaboklab(67.91% -0.029 -0.1401)
OKLCHoklch(67.91% 0.143 258.3)
XYZxyz(31.4188, 31.0653, 85.9851)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98EF #EFB55E
analogous
#5EE0EF #5E98EF #6C5EEF
triadic
#5E98EF #EF5E98 #98EF5E
tetradic
#5E98EF #EF5EE0 #EFB55E #5EEF6C
square
#5E98EF #EF5EE0 #EFB55E #5EEF6C
split-complementary
#5E98EF #EF6C5E #E0EF5E
monochromatic
#1358C0 #2674E9 #5E98EF #96BCF5 #CDDFFA

Accessibility & contrast

On white

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

On black

7.21
#5E98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E98EF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E98EF#FFFFFF#000000##000000
##5E98EF1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5e98ef;
/* rgb */ color: rgb(94, 152, 239);
/* oklch */ color: oklch(67.9% 0.143 258.3);
Tailwind
colors: {
  custom: {
    50: '#97b5f4',
    500: '#5e98ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e98ef;
$custom-light: #97b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98ef",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 216,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.14311,
    "h": 258.3
  },
  "luminance": 0.31068
}

Semantic roles & 50–950 ramp

primary
#5E98EF
secondary
#EDD9BC
accent
#8807DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5E98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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