#5E7FF6#5E7FF6

#5E7FF6 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.2% C 0.181 H 269.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5E7FF6
RGBrgb(94, 127, 246)
HSLhsl(227, 89%, 67%)
HSVhsv(227, 62%, 96%)
CMYKcmyk(61.8%, 48.4%, 0%, 3.5%)
CIE-LABlab(56.30, 24.34, -63.27)
CIE-LCHlch(56.30, 67.79, 291.04°)
OKLaboklab(63.22% -0.003 -0.1811)
OKLCHoklch(63.22% 0.181 269.1)
XYZxyz(28.8344, 24.2097, 90.3243)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FF6 #F6D55E
analogous
#5ECBF6 #5E7FF6 #895EF6
triadic
#5E7FF6 #F65E7F #7FF65E
tetradic
#5E7FF6 #F65ECB #F6D55E #5EF689
square
#5E7FF6 #F65ECB #F6D55E #5EF689
split-complementary
#5E7FF6 #F6895E #CBF65E
monochromatic
#0C36CE #2451F3 #5E7FF6 #98ADF9 #D2DBFC

Accessibility & contrast

On white

3.59
#5E7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#5E7FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FF6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FF6#FFFFFF#000000##000000
##5E7FF61.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EFA
Deuteranopia (green-blind)
#1F81F4
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5e7ff6;
/* rgb */ color: rgb(94, 127, 246);
/* oklch */ color: oklch(63.2% 0.181 269.1);
Tailwind
colors: {
  custom: {
    50: '#99a3fa',
    500: '#5e7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ff6;
$custom-light: #99a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ff6",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 226.974,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63218,
    "c": 0.18113,
    "h": 269.1
  },
  "luminance": 0.24212
}

Semantic roles & 50–950 ramp

primary
#5E7FF6
secondary
#F0E6BF
accent
#B400E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5E7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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