#5E7FEF#5E7FEF

#5E7FEF is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.8% C 0.172 H 268.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5E7FEF
RGBrgb(94, 127, 239)
HSLhsl(226, 82%, 65%)
HSVhsv(226, 61%, 94%)
CMYKcmyk(60.7%, 46.9%, 0%, 6.3%)
CIE-LABlab(55.88, 22.01, -60.07)
CIE-LCHlch(55.88, 63.97, 290.13°)
OKLaboklab(62.76% -0.0038 -0.1717)
OKLCHoklch(62.76% 0.172 268.7)
XYZxyz(27.7802, 23.7881, 84.7722)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FEF #EFCE5E
analogous
#5EC7EF #5E7FEF #855EEF
triadic
#5E7FEF #EF5E7F #7FEF5E
tetradic
#5E7FEF #EF5EC7 #EFCE5E #5EEF85
square
#5E7FEF #EF5EC7 #EFCE5E #5EEF85
split-complementary
#5E7FEF #EF855E #C7EF5E
monochromatic
#133AC0 #2653E9 #5E7FEF #96ABF5 #CDD8FA

Accessibility & contrast

On white

3.65
#5E7FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5E7FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FEF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FEF#FFFFFF#000000##000000
##5E7FEF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#2E80ED
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e7fef;
/* rgb */ color: rgb(94, 127, 239);
/* oklch */ color: oklch(62.8% 0.172 268.7);
Tailwind
colors: {
  custom: {
    50: '#98a3f5',
    500: '#5e7fef',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fef;
$custom-light: #98a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fef",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 226.345,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62761,
    "c": 0.17173,
    "h": 268.7
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

primary
#5E7FEF
secondary
#EDE2BC
accent
#AD07DE
background
#FAFAFF
surface
#F3F3FE
border
#CDCDD6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5E7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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