#5E97EC#5E97EC

#5E97EC is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.5% C 0.140 H 258.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5E97EC
RGBrgb(94, 151, 236)
HSLhsl(216, 79%, 65%)
HSVhsv(216, 60%, 93%)
CMYKcmyk(60.2%, 36%, 0%, 7.5%)
CIE-LABlab(62.14, 6.69, -48.43)
CIE-LCHlch(62.14, 48.89, 277.86°)
OKLaboklab(67.54% -0.0287 -0.1373)
OKLCHoklch(67.54% 0.14 258.2)
XYZxyz(30.8177, 30.5663, 83.6164)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E97EC #ECB35E
analogous
#5EDEEC #5E97EC #6C5EEC
triadic
#5E97EC #EC5E97 #97EC5E
tetradic
#5E97EC #EC5EDE #ECB35E #5EEC6C
square
#5E97EC #EC5EDE #ECB35E #5EEC6C
split-complementary
#5E97EC #EC6C5E #DEEC5E
monochromatic
#1658BA #2774E6 #5E97EC #95BAF2 #CBDEF9

Accessibility & contrast

On white

2.95
#5E97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5E97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E97EC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E97EC#FFFFFF#000000##000000
##5E97EC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5e97ec;
/* rgb */ color: rgb(94, 151, 236);
/* oklch */ color: oklch(67.5% 0.140 258.2);
Tailwind
colors: {
  custom: {
    50: '#97b5f2',
    500: '#5e97ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e97ec;
$custom-light: #97b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e97ec",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 215.915,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67536,
    "c": 0.14024,
    "h": 258.2
  },
  "luminance": 0.30569
}

Semantic roles & 50–950 ramp

primary
#5E97EC
secondary
#EBD8BB
accent
#870ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5E97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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