#5E7EF6#5E7EF6

#5E7EF6 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.0% C 0.182 H 269.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5E7EF6
RGBrgb(94, 126, 246)
HSLhsl(227, 89%, 67%)
HSVhsv(227, 62%, 96%)
CMYKcmyk(61.8%, 48.8%, 0%, 3.5%)
CIE-LABlab(56.04, 24.95, -63.69)
CIE-LCHlch(56.04, 68.40, 291.39°)
OKLaboklab(63.02% -0.002 -0.1823)
OKLCHoklch(63.02% 0.182 269.4)
XYZxyz(28.7059, 23.9527, 90.2815)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7EF6 #F6D65E
analogous
#5ECAF6 #5E7EF6 #8A5EF6
triadic
#5E7EF6 #F65E7E #7EF65E
tetradic
#5E7EF6 #F65ECA #F6D65E #5EF68A
square
#5E7EF6 #F65ECA #F6D65E #5EF68A
split-complementary
#5E7EF6 #F68A5E #CAF65E
monochromatic
#0C34CE #2450F3 #5E7EF6 #98ACF9 #D2DBFC

Accessibility & contrast

On white

3.63
#5E7EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5E7EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7EF6
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7EF6#FFFFFF#000000##000000
##5E7EF61.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DFA
Deuteranopia (green-blind)
#1A80F4
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e7ef6;
/* rgb */ color: rgb(94, 126, 246);
/* oklch */ color: oklch(63.0% 0.182 269.4);
Tailwind
colors: {
  custom: {
    50: '#99a3fa',
    500: '#5e7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ef6;
$custom-light: #99a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ef6",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 227.368,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.18235,
    "h": 269.4
  },
  "luminance": 0.23955
}

Semantic roles & 50–950 ramp

primary
#5E7EF6
secondary
#F0E6BF
accent
#B500E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5E7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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