#5E98EB#5E98EB

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

Color values

HEX#5E98EB
RGBrgb(94, 152, 235)
HSLhsl(215, 78%, 65%)
HSVhsv(215, 60%, 92%)
CMYKcmyk(60%, 35.3%, 0%, 7.8%)
CIE-LABlab(62.37, 5.78, -47.52)
CIE-LCHlch(62.37, 47.87, 276.93°)
OKLaboklab(67.7% -0.03 -0.1346)
OKLCHoklch(67.7% 0.138 257.4)
XYZxyz(30.8344, 30.8316, 82.9073)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98EB #EBB15E
analogous
#5EDFEB #5E98EB #6B5EEB
triadic
#5E98EB #EB5E98 #98EB5E
tetradic
#5E98EB #EB5EDF #EBB15E #5EEB6B
square
#5E98EB #EB5EDF #EBB15E #5EEB6B
split-complementary
#5E98EB #EB6B5E #DFEB5E
monochromatic
#1759B8 #2875E4 #5E98EB #94BBF2 #CBDEF9

Accessibility & contrast

On white

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

On black

7.17
#5E98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E98EB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E98EB#FFFFFF#000000##000000
##5E98EB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.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: #5e98eb;
/* rgb */ color: rgb(94, 152, 235);
/* oklch */ color: oklch(67.7% 0.138 257.4);
Tailwind
colors: {
  custom: {
    50: '#97b5f2',
    500: '#5e98eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e98eb;
$custom-light: #97b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98eb",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 215.319,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67695,
    "c": 0.13791,
    "h": 257.4
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

primary
#5E98EB
secondary
#EBD7BA
accent
#850BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5E98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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