#5E98FA#5E98FA

#5E98FA is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.157 H 260.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5E98FA
RGBrgb(94, 152, 250)
HSLhsl(218, 94%, 67%)
HSVhsv(218, 62%, 98%)
CMYKcmyk(62.4%, 39.2%, 0%, 2%)
CIE-LABlab(63.12, 10.70, -54.56)
CIE-LCHlch(63.12, 55.60, 281.10°)
OKLaboklab(68.53% -0.0266 -0.1552)
OKLCHoklch(68.53% 0.157 260.3)
XYZxyz(33.0936, 31.7352, 94.8054)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98FA #FAC05E
analogous
#5EE6FA #5E98FA #725EFA
triadic
#5E98FA #FA5E98 #98FA5E
tetradic
#5E98FA #FA5EE6 #FAC05E #5EFA72
square
#5E98FA #FA5EE6 #FAC05E #5EFA72
split-complementary
#5E98FA #FA725E #E6FA5E
monochromatic
#0754D7 #2372F8 #5E98FA #99BEFC #D5E4FE

Accessibility & contrast

On white

2.86
#5E98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#5E98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E98FA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E98FA#FFFFFF#000000##000000
##5E98FA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5e98fa;
/* rgb */ color: rgb(94, 152, 250);
/* oklch */ color: oklch(68.5% 0.157 260.3);
Tailwind
colors: {
  custom: {
    50: '#99b5fc',
    500: '#5e98fa',
    950: '#000000',
  },
}
SCSS
$custom: #5e98fa;
$custom-light: #99b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98fa",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 217.692,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68532,
    "c": 0.15747,
    "h": 260.3
  },
  "luminance": 0.31738
}

Semantic roles & 50–950 ramp

primary
#5E98FA
secondary
#F2E0C1
accent
#9000E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5E98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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