#5E97F6#5E97F6

#5E97F6 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.1% C 0.153 H 260.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5E97F6
RGBrgb(94, 151, 246)
HSLhsl(218, 89%, 67%)
HSVhsv(218, 62%, 96%)
CMYKcmyk(61.8%, 38.6%, 0%, 3.5%)
CIE-LABlab(62.65, 9.97, -53.13)
CIE-LCHlch(62.65, 54.05, 280.63°)
OKLaboklab(68.09% -0.0264 -0.151)
OKLCHoklch(68.09% 0.153 260.1)
XYZxyz(32.3114, 31.1638, 91.4833)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E97F6 #F6BD5E
analogous
#5EE3F6 #5E97F6 #715EF6
triadic
#5E97F6 #F65E97 #97F65E
tetradic
#5E97F6 #F65EE3 #F6BD5E #5EF671
square
#5E97F6 #F65EE3 #F6BD5E #5EF671
split-complementary
#5E97F6 #F6715E #E3F65E
monochromatic
#0C54CE #2472F3 #5E97F6 #98BCF9 #D2E2FC

Accessibility & contrast

On white

2.90
#5E97F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5E97F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E97F6
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E97F6#FFFFFF#000000##000000
##5E97F61.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5e97f6;
/* rgb */ color: rgb(94, 151, 246);
/* oklch */ color: oklch(68.1% 0.153 260.1);
Tailwind
colors: {
  custom: {
    50: '#98b5f9',
    500: '#5e97f6',
    950: '#000000',
  },
}
SCSS
$custom: #5e97f6;
$custom-light: #98b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e97f6",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 246
  },
  "hsl": {
    "h": 217.5,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68094,
    "c": 0.15332,
    "h": 260.1
  },
  "luminance": 0.31167
}

Semantic roles & 50–950 ramp

primary
#5E97F6
secondary
#F0DEBF
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5E97F6

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

Preview Lab → · Contrast checker → · Palette generator →

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