#5E7BF6#5E7BF6

#5E7BF6 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.4% C 0.186 H 270.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5E7BF6
RGBrgb(94, 123, 246)
HSLhsl(229, 89%, 67%)
HSVhsv(229, 62%, 96%)
CMYKcmyk(61.8%, 50%, 0%, 3.5%)
CIE-LABlab(55.27, 26.77, -64.92)
CIE-LCHlch(55.27, 70.22, 292.41°)
OKLaboklab(62.44% 0.0008 -0.186)
OKLCHoklch(62.44% 0.186 270.2)
XYZxyz(28.3280, 23.1970, 90.1555)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BF6 #F6D95E
analogous
#5EC7F6 #5E7BF6 #8D5EF6
triadic
#5E7BF6 #F65E7B #7BF65E
tetradic
#5E7BF6 #F65EC7 #F6D95E #5EF68D
square
#5E7BF6 #F65EC7 #F6D95E #5EF68D
split-complementary
#5E7BF6 #F68D5E #C7F65E
monochromatic
#0C31CE #244BF3 #5E7BF6 #98ABF9 #D2DAFC

Accessibility & contrast

On white

3.72
#5E7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5E7BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BF6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BF6#FFFFFF#000000##000000
##5E7BF61.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BFA
Deuteranopia (green-blind)
#057EF3
Tritanopia (blue-blind)
#0097AD
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7bf6;
/* rgb */ color: rgb(94, 123, 246);
/* oklch */ color: oklch(62.4% 0.186 270.2);
Tailwind
colors: {
  custom: {
    50: '#99a0fa',
    500: '#5e7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bf6;
$custom-light: #99a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bf6",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 228.553,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62442,
    "c": 0.18601,
    "h": 270.2
  },
  "luminance": 0.23199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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