#5E98F1#5E98F1

#5E98F1 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.146 H 258.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5E98F1
RGBrgb(94, 152, 241)
HSLhsl(216, 84%, 66%)
HSVhsv(216, 61%, 95%)
CMYKcmyk(61%, 36.9%, 0%, 5.5%)
CIE-LABlab(62.66, 7.74, -50.35)
CIE-LCHlch(62.66, 50.94, 278.74°)
OKLaboklab(68.02% -0.0286 -0.1429)
OKLCHoklch(68.02% 0.146 258.7)
XYZxyz(31.7159, 31.1841, 87.5498)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98F1 #F1B75E
analogous
#5EE1F1 #5E98F1 #6D5EF1
triadic
#5E98F1 #F15E98 #98F15E
tetradic
#5E98F1 #F15EE1 #F1B75E #5EF16D
square
#5E98F1 #F15EE1 #F1B75E #5EF16D
split-complementary
#5E98F1 #F16D5E #E1F15E
monochromatic
#1157C4 #2674EC #5E98F1 #96BCF6 #CFE0FB

Accessibility & contrast

On white

2.90
#5E98F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#5E98F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E98F1
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E98F1#FFFFFF#000000##000000
##5E98F11.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF5
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5e98f1;
/* rgb */ color: rgb(94, 152, 241);
/* oklch */ color: oklch(68.0% 0.146 258.7);
Tailwind
colors: {
  custom: {
    50: '#97b5f6',
    500: '#5e98f1',
    950: '#000000',
  },
}
SCSS
$custom: #5e98f1;
$custom-light: #97b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98f1",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 216.327,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68024,
    "c": 0.14572,
    "h": 258.7
  },
  "luminance": 0.31187
}

Semantic roles & 50–950 ramp

primary
#5E98F1
secondary
#EEDBBD
accent
#8A05E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5E98F1

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

Preview Lab → · Contrast checker → · Palette generator →

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