#5E7BEF#5E7BEF

#5E7BEF is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.177 H 270.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5E7BEF
RGBrgb(94, 123, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 61%, 94%)
CMYKcmyk(60.7%, 48.5%, 0%, 6.3%)
CIE-LABlab(54.84, 24.45, -61.73)
CIE-LCHlch(54.84, 66.39, 291.60°)
OKLaboklab(61.97% 0.0001 -0.1766)
OKLCHoklch(61.97% 0.177 270)
XYZxyz(27.2738, 22.7753, 84.6034)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BEF #EFD25E
analogous
#5EC3EF #5E7BEF #895EEF
triadic
#5E7BEF #EF5E7B #7BEF5E
tetradic
#5E7BEF #EF5EC3 #EFD25E #5EEF89
square
#5E7BEF #EF5EC3 #EFD25E #5EEF89
split-complementary
#5E7BEF #EF895E #C3EF5E
monochromatic
#1336C0 #264DE9 #5E7BEF #96A9F5 #CDD6FA

Accessibility & contrast

On white

3.78
#5E7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5E7BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BEF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BEF#FFFFFF#000000##000000
##5E7BEF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#207DED
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e7bef;
/* rgb */ color: rgb(94, 123, 239);
/* oklch */ color: oklch(62.0% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#98a0f5',
    500: '#5e7bef',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bef;
$custom-light: #98a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bef",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 228,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61973,
    "c": 0.17663,
    "h": 270
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#5E7BEF
secondary
#EDE3BC
accent
#B307DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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