#5E7BF1#5E7BF1

#5E7BF1 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.1% C 0.179 H 270.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5E7BF1
RGBrgb(94, 123, 241)
HSLhsl(228, 84%, 66%)
HSVhsv(228, 61%, 95%)
CMYKcmyk(61%, 49%, 0%, 5.5%)
CIE-LABlab(54.96, 25.11, -62.64)
CIE-LCHlch(54.96, 67.49, 291.84°)
OKLaboklab(62.11% 0.0003 -0.1793)
OKLCHoklch(62.11% 0.179 270.1)
XYZxyz(27.5709, 22.8941, 86.1681)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BF1 #F1D45E
analogous
#5EC5F1 #5E7BF1 #8A5EF1
triadic
#5E7BF1 #F15E7B #7BF15E
tetradic
#5E7BF1 #F15EC5 #F1D45E #5EF18A
square
#5E7BF1 #F15EC5 #F1D45E #5EF18A
split-complementary
#5E7BF1 #F18A5E #C5F15E
monochromatic
#1134C4 #264DEC #5E7BF1 #96A9F6 #CFD7FB

Accessibility & contrast

On white

3.76
#5E7BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5E7BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BF1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BF1#FFFFFF#000000##000000
##5E7BF11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8AF5
Deuteranopia (green-blind)
#1B7DEF
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7bf1;
/* rgb */ color: rgb(94, 123, 241);
/* oklch */ color: oklch(62.1% 0.179 270.1);
Tailwind
colors: {
  custom: {
    50: '#98a0f6',
    500: '#5e7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bf1;
$custom-light: #98a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bf1",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 228.163,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.17932,
    "h": 270.1
  },
  "luminance": 0.22896
}

Semantic roles & 50–950 ramp

primary
#5E7BF1
secondary
#EEE4BD
accent
#B505E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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