#5E8BF5#5E8BF5

#5E8BF5 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.6% C 0.166 H 264.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5E8BF5
RGBrgb(94, 139, 245)
HSLhsl(222, 88%, 66%)
HSVhsv(222, 62%, 96%)
CMYKcmyk(61.6%, 43.3%, 0%, 3.9%)
CIE-LABlab(59.37, 16.76, -57.79)
CIE-LCHlch(59.37, 60.17, 286.18°)
OKLaboklab(65.55% -0.0147 -0.1648)
OKLCHoklch(65.55% 0.166 264.9)
XYZxyz(30.3245, 27.4348, 90.0659)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8BF5 #F5C85E
analogous
#5ED7F5 #5E8BF5 #7D5EF5
triadic
#5E8BF5 #F55E8B #8BF55E
tetradic
#5E8BF5 #F55ED7 #F5C85E #5EF57D
square
#5E8BF5 #F55ED7 #F5C85E #5EF57D
split-complementary
#5E8BF5 #F57D5E #D7F55E
monochromatic
#0D46CC #2461F1 #5E8BF5 #98B5F9 #D1DEFC

Accessibility & contrast

On white

3.24
#5E8BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#5E8BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8BF5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8BF5#FFFFFF#000000##000000
##5E8BF51.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F9
Deuteranopia (green-blind)
#4289F3
Tritanopia (blue-blind)
#00A3B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5e8bf5;
/* rgb */ color: rgb(94, 139, 245);
/* oklch */ color: oklch(65.6% 0.166 264.9);
Tailwind
colors: {
  custom: {
    50: '#98acf9',
    500: '#5e8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #5e8bf5;
$custom-light: #98acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8bf5",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 222.119,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65551,
    "c": 0.1655,
    "h": 264.9
  },
  "luminance": 0.27437
}

Semantic roles & 50–950 ramp

primary
#5E8BF5
secondary
#F0E1BF
accent
#A101E5
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5E8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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