#5E7BE9#5E7BE9

#5E7BE9 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.169 H 269.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5E7BE9
RGBrgb(94, 123, 233)
HSLhsl(227, 76%, 64%)
HSVhsv(227, 60%, 91%)
CMYKcmyk(59.7%, 47.2%, 0%, 8.6%)
CIE-LABlab(54.48, 22.46, -58.97)
CIE-LCHlch(54.48, 63.10, 290.85°)
OKLaboklab(61.58% -0.0006 -0.1685)
OKLCHoklch(61.58% 0.169 269.8)
XYZxyz(26.4021, 22.4266, 80.0124)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BE9 #E9CC5E
analogous
#5EC1E9 #5E7BE9 #875EE9
triadic
#5E7BE9 #E95E7B #7BE95E
tetradic
#5E7BE9 #E95EC1 #E9CC5E #5EE987
square
#5E7BE9 #E95EC1 #E9CC5E #5EE987
split-complementary
#5E7BE9 #E9875E #C1E95E
monochromatic
#1939B4 #284FE2 #5E7BE9 #94A7F0 #CAD3F8

Accessibility & contrast

On white

3.83
#5E7BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5E7BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BE9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BE9#FFFFFF#000000##000000
##5E7BE91.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489ED
Deuteranopia (green-blind)
#2D7CE7
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e7be9;
/* rgb */ color: rgb(94, 123, 233);
/* oklch */ color: oklch(61.6% 0.169 269.8);
Tailwind
colors: {
  custom: {
    50: '#97a0f1',
    500: '#5e7be9',
    950: '#000000',
  },
}
SCSS
$custom: #5e7be9;
$custom-light: #97a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7be9",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 227.482,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6158,
    "c": 0.16851,
    "h": 269.8
  },
  "luminance": 0.22429
}

Semantic roles & 50–950 ramp

primary
#5E7BE9
secondary
#EAE0B9
accent
#AE0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E7BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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