#5E7CF6#5E7CF6

#5E7CF6 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.6% C 0.185 H 270.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5E7CF6
RGBrgb(94, 124, 246)
HSLhsl(228, 89%, 67%)
HSVhsv(228, 62%, 96%)
CMYKcmyk(61.8%, 49.6%, 0%, 3.5%)
CIE-LABlab(55.53, 26.16, -64.51)
CIE-LCHlch(55.53, 69.61, 292.07°)
OKLaboklab(62.64% -0.0001 -0.1848)
OKLCHoklch(62.64% 0.185 270)
XYZxyz(28.4527, 23.4464, 90.1971)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CF6 #F6D85E
analogous
#5EC8F6 #5E7CF6 #8C5EF6
triadic
#5E7CF6 #F65E7C #7CF65E
tetradic
#5E7CF6 #F65EC8 #F6D85E #5EF68C
square
#5E7CF6 #F65EC8 #F6D85E #5EF68C
split-complementary
#5E7CF6 #F68C5E #C8F65E
monochromatic
#0C32CE #244DF3 #5E7CF6 #98ABF9 #D2DAFC

Accessibility & contrast

On white

3.69
#5E7CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5E7CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CF6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CF6#FFFFFF#000000##000000
##5E7CF61.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CFA
Deuteranopia (green-blind)
#0E7FF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e7cf6;
/* rgb */ color: rgb(94, 124, 246);
/* oklch */ color: oklch(62.6% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#99a1fa',
    500: '#5e7cf6',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cf6;
$custom-light: #99a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cf6",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 228.158,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62635,
    "c": 0.18479,
    "h": 270
  },
  "luminance": 0.23449
}

Semantic roles & 50–950 ramp

primary
#5E7CF6
secondary
#F0E7BF
accent
#B800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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