#5E7EF5#5E7EF5

#5E7EF5 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.0% C 0.181 H 269.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5E7EF5
RGBrgb(94, 126, 245)
HSLhsl(227, 88%, 66%)
HSVhsv(227, 62%, 96%)
CMYKcmyk(61.6%, 48.6%, 0%, 3.9%)
CIE-LABlab(55.98, 24.61, -63.23)
CIE-LCHlch(55.98, 67.85, 291.27°)
OKLaboklab(62.96% -0.0021 -0.181)
OKLCHoklch(62.96% 0.181 269.3)
XYZxyz(28.5528, 23.8915, 89.4753)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7EF5 #F5D55E
analogous
#5ECAF5 #5E7EF5 #8A5EF5
triadic
#5E7EF5 #F55E7E #7EF55E
tetradic
#5E7EF5 #F55ECA #F5D55E #5EF58A
square
#5E7EF5 #F55ECA #F5D55E #5EF58A
split-complementary
#5E7EF5 #F58A5E #CAF55E
monochromatic
#0D35CC #2450F1 #5E7EF5 #98ACF9 #D1DAFC

Accessibility & contrast

On white

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

On black

5.78
#5E7EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7EF5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7EF5#FFFFFF#000000##000000
##5E7EF51.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8DF9
Deuteranopia (green-blind)
#1D80F3
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e7ef5;
/* rgb */ color: rgb(94, 126, 245);
/* oklch */ color: oklch(63.0% 0.181 269.3);
Tailwind
colors: {
  custom: {
    50: '#99a3f9',
    500: '#5e7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ef5;
$custom-light: #99a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ef5",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 227.285,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62956,
    "c": 0.18101,
    "h": 269.3
  },
  "luminance": 0.23894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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