#5E7BF5#5E7BF5

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

Color values

HEX#5E7BF5
RGBrgb(94, 123, 245)
HSLhsl(228, 88%, 66%)
HSVhsv(228, 62%, 96%)
CMYKcmyk(61.6%, 49.8%, 0%, 3.9%)
CIE-LABlab(55.21, 26.44, -64.46)
CIE-LCHlch(55.21, 69.67, 292.30°)
OKLaboklab(62.37% 0.0007 -0.1847)
OKLCHoklch(62.37% 0.185 270.2)
XYZxyz(28.1749, 23.1358, 89.3494)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BF5 #F5D85E
analogous
#5EC7F5 #5E7BF5 #8D5EF5
triadic
#5E7BF5 #F55E7B #7BF55E
tetradic
#5E7BF5 #F55EC7 #F5D85E #5EF58D
square
#5E7BF5 #F55EC7 #F5D85E #5EF58D
split-complementary
#5E7BF5 #F58D5E #C7F55E
monochromatic
#0D31CC #244CF1 #5E7BF5 #98AAF9 #D1D9FC

Accessibility & contrast

On white

3.73
#5E7BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5E7BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BF5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BF5#FFFFFF#000000##000000
##5E7BF51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF9
Deuteranopia (green-blind)
#0B7EF2
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7bf5;
/* rgb */ color: rgb(94, 123, 245);
/* oklch */ color: oklch(62.4% 0.185 270.2);
Tailwind
colors: {
  custom: {
    50: '#99a0f9',
    500: '#5e7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bf5;
$custom-light: #99a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bf5",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 228.477,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62374,
    "c": 0.18467,
    "h": 270.2
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#5E7BF5
secondary
#F0E6BF
accent
#B901E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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