#5E98F3#5E98F3

#5E98F3 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.1% C 0.148 H 259.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5E98F3
RGBrgb(94, 152, 243)
HSLhsl(217, 86%, 66%)
HSVhsv(217, 61%, 95%)
CMYKcmyk(61.3%, 37.4%, 0%, 4.7%)
CIE-LABlab(62.76, 8.40, -51.29)
CIE-LCHlch(62.76, 51.97, 279.30°)
OKLaboklab(68.14% -0.0281 -0.1456)
OKLCHoklch(68.14% 0.148 259.1)
XYZxyz(32.0163, 31.3043, 89.1317)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98F3 #F3B95E
analogous
#5EE3F3 #5E98F3 #6E5EF3
triadic
#5E98F3 #F35E98 #98F35E
tetradic
#5E98F3 #F35EE3 #F3B95E #5EF36E
square
#5E98F3 #F35EE3 #F3B95E #5EF36E
split-complementary
#5E98F3 #F36E5E #E3F35E
monochromatic
#0F57C8 #2574EF #5E98F3 #97BCF7 #D0E1FB

Accessibility & contrast

On white

2.89
#5E98F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#5E98F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E98F3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E98F3#FFFFFF#000000##000000
##5E98F31.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF7
Deuteranopia (green-blind)
#5C91F1
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5e98f3;
/* rgb */ color: rgb(94, 152, 243);
/* oklch */ color: oklch(68.1% 0.148 259.1);
Tailwind
colors: {
  custom: {
    50: '#98b5f7',
    500: '#5e98f3',
    950: '#000000',
  },
}
SCSS
$custom: #5e98f3;
$custom-light: #98b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98f3",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 243
  },
  "hsl": {
    "h": 216.644,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68135,
    "c": 0.14833,
    "h": 259.1
  },
  "luminance": 0.31307
}

Semantic roles & 50–950 ramp

primary
#5E98F3
secondary
#EFDCBE
accent
#8C03E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5E98F3

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

Preview Lab → · Contrast checker → · Palette generator →

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