#5E7AEE#5E7AEE

#5E7AEE is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.7% C 0.177 H 270.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5E7AEE
RGBrgb(94, 122, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(60.5%, 48.7%, 0%, 6.7%)
CIE-LABlab(54.52, 24.72, -61.69)
CIE-LCHlch(54.52, 66.46, 291.84°)
OKLaboklab(61.71% 0.0009 -0.1765)
OKLCHoklch(61.71% 0.177 270.3)
XYZxyz(27.0031, 22.4695, 83.7864)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AEE #EED25E
analogous
#5EC2EE #5E7AEE #8A5EEE
triadic
#5E7AEE #EE5E7A #7AEE5E
tetradic
#5E7AEE #EE5EC2 #EED25E #5EEE8A
square
#5E7AEE #EE5EC2 #EED25E #5EEE8A
split-complementary
#5E7AEE #EE8A5E #C2EE5E
monochromatic
#1435BE #274CE8 #5E7AEE #95A8F4 #CDD5FA

Accessibility & contrast

On white

3.82
#5E7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7AEE#FFFFFF#000000##000000
##5E7AEE1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F2
Deuteranopia (green-blind)
#1F7CEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e7aee;
/* rgb */ color: rgb(94, 122, 238);
/* oklch */ color: oklch(61.7% 0.177 270.3);
Tailwind
colors: {
  custom: {
    50: '#98a0f4',
    500: '#5e7aee',
    950: '#000000',
  },
}
SCSS
$custom: #5e7aee;
$custom-light: #98a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7aee",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 228.333,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.17651,
    "h": 270.3
  },
  "luminance": 0.22472
}

Semantic roles & 50–950 ramp

primary
#5E7AEE
secondary
#ECE3BB
accent
#B408DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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