#5E7BE8#5E7BE8

#5E7BE8 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.5% C 0.167 H 269.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5E7BE8
RGBrgb(94, 123, 232)
HSLhsl(227, 75%, 64%)
HSVhsv(227, 59%, 91%)
CMYKcmyk(59.5%, 47%, 0%, 9%)
CIE-LABlab(54.42, 22.13, -58.51)
CIE-LCHlch(54.42, 62.55, 290.72°)
OKLaboklab(61.52% -0.0008 -0.1671)
OKLCHoklch(61.52% 0.167 269.7)
XYZxyz(26.2597, 22.3696, 79.2622)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BE8 #E8CB5E
analogous
#5EC0E8 #5E7BE8 #865EE8
triadic
#5E7BE8 #E85E7B #7BE85E
tetradic
#5E7BE8 #E85EC0 #E8CB5E #5EE886
square
#5E7BE8 #E85EC0 #E8CB5E #5EE886
split-complementary
#5E7BE8 #E8865E #C0E85E
monochromatic
#193AB2 #284FE0 #5E7BE8 #94A7F0 #C9D3F7

Accessibility & contrast

On white

3.84
#5E7BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5E7BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BE8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BE8#FFFFFF#000000##000000
##5E7BE81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EC
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e7be8;
/* rgb */ color: rgb(94, 123, 232);
/* oklch */ color: oklch(61.5% 0.167 269.7);
Tailwind
colors: {
  custom: {
    50: '#97a0f0',
    500: '#5e7be8',
    950: '#000000',
  },
}
SCSS
$custom: #5e7be8;
$custom-light: #97a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7be8",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 227.391,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.16715,
    "h": 269.7
  },
  "luminance": 0.22372
}

Semantic roles & 50–950 ramp

primary
#5E7BE8
secondary
#E9DFB9
accent
#AD0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E7BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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