#5E98EC#5E98EC

#5E98EC is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.7% C 0.139 H 257.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5E98EC
RGBrgb(94, 152, 236)
HSLhsl(215, 79%, 65%)
HSVhsv(215, 60%, 93%)
CMYKcmyk(60.2%, 35.6%, 0%, 7.5%)
CIE-LABlab(62.41, 6.10, -47.99)
CIE-LCHlch(62.41, 48.38, 277.25°)
OKLaboklab(67.75% -0.0297 -0.136)
OKLCHoklch(67.75% 0.139 257.7)
XYZxyz(30.9793, 30.8895, 83.6703)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98EC #ECB25E
analogous
#5EDFEC #5E98EC #6B5EEC
triadic
#5E98EC #EC5E98 #98EC5E
tetradic
#5E98EC #EC5EDF #ECB25E #5EEC6B
square
#5E98EC #EC5EDF #ECB25E #5EEC6B
split-complementary
#5E98EC #EC6B5E #DFEC5E
monochromatic
#1659BA #2775E6 #5E98EC #95BBF2 #CBDEF9

Accessibility & contrast

On white

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

On black

7.18
#5E98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E98EC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E98EC#FFFFFF#000000##000000
##5E98EC1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#6191EA
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5e98ec;
/* rgb */ color: rgb(94, 152, 236);
/* oklch */ color: oklch(67.7% 0.139 257.7);
Tailwind
colors: {
  custom: {
    50: '#97b5f2',
    500: '#5e98ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e98ec;
$custom-light: #97b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98ec",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 215.493,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67749,
    "c": 0.13921,
    "h": 257.7
  },
  "luminance": 0.30892
}

Semantic roles & 50–950 ramp

primary
#5E98EC
secondary
#EBD7BB
accent
#860ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5E98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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