#5E98FB#5E98FB

#5E98FB is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.6% C 0.159 H 260.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5E98FB
RGBrgb(94, 152, 251)
HSLhsl(218, 95%, 68%)
HSVhsv(218, 63%, 98%)
CMYKcmyk(62.5%, 39.4%, 0%, 1.6%)
CIE-LABlab(63.18, 11.04, -55.02)
CIE-LCHlch(63.18, 56.12, 281.34°)
OKLaboklab(68.59% -0.0264 -0.1566)
OKLCHoklch(68.59% 0.159 260.4)
XYZxyz(33.2508, 31.7981, 95.6334)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98FB #FBC15E
analogous
#5EE7FB #5E98FB #725EFB
triadic
#5E98FB #FB5E98 #98FB5E
tetradic
#5E98FB #FB5EE7 #FBC15E #5EFB72
square
#5E98FB #FB5EE7 #FBC15E #5EFB72
split-complementary
#5E98FB #FB725E #E7FB5E
monochromatic
#0554D9 #2272FA #5E98FB #9ABEFC #D5E4FE

Accessibility & contrast

On white

2.85
#5E98FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5E98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E98FB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E98FB#FFFFFF#000000##000000
##5E98FB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5e98fb;
/* rgb */ color: rgb(94, 152, 251);
/* oklch */ color: oklch(68.6% 0.159 260.4);
Tailwind
colors: {
  custom: {
    50: '#99b5fd',
    500: '#5e98fb',
    950: '#000000',
  },
}
SCSS
$custom: #5e98fb;
$custom-light: #99b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98fb",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 217.834,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68589,
    "c": 0.15878,
    "h": 260.4
  },
  "luminance": 0.31801
}

Semantic roles & 50–950 ramp

primary
#5E98FB
secondary
#F3E1C2
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5E98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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