#5E97FA#5E97FA

#5E97FA is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.159 H 260.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5E97FA
RGBrgb(94, 151, 250)
HSLhsl(218, 94%, 67%)
HSVhsv(218, 62%, 98%)
CMYKcmyk(62.4%, 39.6%, 0%, 2%)
CIE-LABlab(62.85, 11.29, -54.99)
CIE-LCHlch(62.85, 56.14, 281.60°)
OKLaboklab(68.32% -0.0256 -0.1565)
OKLCHoklch(68.32% 0.159 260.7)
XYZxyz(32.9319, 31.4120, 94.7516)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E97FA #FAC15E
analogous
#5EE5FA #5E97FA #735EFA
triadic
#5E97FA #FA5E97 #97FA5E
tetradic
#5E97FA #FA5EE5 #FAC15E #5EFA73
square
#5E97FA #FA5EE5 #FAC15E #5EFA73
split-complementary
#5E97FA #FA735E #E5FA5E
monochromatic
#0753D7 #2371F8 #5E97FA #99BDFC #D5E4FE

Accessibility & contrast

On white

2.88
#5E97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5E97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E97FA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E97FA#FFFFFF#000000##000000
##5E97FA1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5e97fa;
/* rgb */ color: rgb(94, 151, 250);
/* oklch */ color: oklch(68.3% 0.159 260.7);
Tailwind
colors: {
  custom: {
    50: '#99b5fc',
    500: '#5e97fa',
    950: '#000000',
  },
}
SCSS
$custom: #5e97fa;
$custom-light: #99b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e97fa",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 218.077,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68323,
    "c": 0.15856,
    "h": 260.7
  },
  "luminance": 0.31415
}

Semantic roles & 50–950 ramp

primary
#5E97FA
secondary
#F2E0C1
accent
#9200E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5E97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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