#5E7BEE#5E7BEE

#5E7BEE is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.175 H 270.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5E7BEE
RGBrgb(94, 123, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(60.5%, 48.3%, 0%, 6.7%)
CIE-LABlab(54.78, 24.11, -61.27)
CIE-LCHlch(54.78, 65.85, 291.48°)
OKLaboklab(61.91% 0 -0.1753)
OKLCHoklch(61.91% 0.175 270)
XYZxyz(27.1265, 22.7164, 83.8275)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BEE #EED15E
analogous
#5EC3EE #5E7BEE #895EEE
triadic
#5E7BEE #EE5E7B #7BEE5E
tetradic
#5E7BEE #EE5EC3 #EED15E #5EEE89
square
#5E7BEE #EE5EC3 #EED15E #5EEE89
split-complementary
#5E7BEE #EE895E #C3EE5E
monochromatic
#1436BE #274EE8 #5E7BEE #95A8F4 #CDD6FA

Accessibility & contrast

On white

3.79
#5E7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5E7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BEE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BEE#FFFFFF#000000##000000
##5E7BEE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e7bee;
/* rgb */ color: rgb(94, 123, 238);
/* oklch */ color: oklch(61.9% 0.175 270.0);
Tailwind
colors: {
  custom: {
    50: '#98a0f4',
    500: '#5e7bee',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bee;
$custom-light: #98a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bee",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 227.917,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.17528,
    "h": 270
  },
  "luminance": 0.22719
}

Semantic roles & 50–950 ramp

primary
#5E7BEE
secondary
#ECE2BB
accent
#B208DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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