#5E97F2#5E97F2

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

Color values

HEX#5E97F2
RGBrgb(94, 151, 242)
HSLhsl(217, 85%, 66%)
HSVhsv(217, 61%, 95%)
CMYKcmyk(61.2%, 37.6%, 0%, 5.1%)
CIE-LABlab(62.44, 8.65, -51.25)
CIE-LCHlch(62.44, 51.98, 279.58°)
OKLaboklab(67.87% -0.0273 -0.1455)
OKLCHoklch(67.87% 0.148 259.4)
XYZxyz(31.7041, 30.9208, 88.2847)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E97F2 #F2B95E
analogous
#5EE1F2 #5E97F2 #6F5EF2
triadic
#5E97F2 #F25E97 #97F25E
tetradic
#5E97F2 #F25EE1 #F2B95E #5EF26F
square
#5E97F2 #F25EE1 #F2B95E #5EF26F
split-complementary
#5E97F2 #F26F5E #E1F25E
monochromatic
#1056C6 #2572ED #5E97F2 #97BCF7 #CFE0FB

Accessibility & contrast

On white

2.92
#5E97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E97F2#FFFFFF#000000##000000
##5E97F21.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF6
Deuteranopia (green-blind)
#5B91F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5e97f2;
/* rgb */ color: rgb(94, 151, 242);
/* oklch */ color: oklch(67.9% 0.148 259.4);
Tailwind
colors: {
  custom: {
    50: '#98b5f7',
    500: '#5e97f2',
    950: '#000000',
  },
}
SCSS
$custom: #5e97f2;
$custom-light: #98b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e97f2",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 216.892,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67868,
    "c": 0.14808,
    "h": 259.4
  },
  "luminance": 0.30924
}

Semantic roles & 50–950 ramp

primary
#5E97F2
secondary
#EEDCBD
accent
#8C04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5E97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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