#5E6AEF#5E6AEF

#5E6AEF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.8% C 0.198 H 274.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5E6AEF
RGBrgb(94, 106, 239)
HSLhsl(235, 82%, 65%)
HSVhsv(235, 61%, 94%)
CMYKcmyk(60.7%, 55.6%, 0%, 6.3%)
CIE-LABlab(50.59, 34.80, -68.59)
CIE-LCHlch(50.59, 76.91, 296.90°)
OKLaboklab(58.78% 0.0161 -0.197)
OKLCHoklch(58.78% 0.198 274.7)
XYZxyz(25.3450, 18.9177, 83.9605)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6AEF #EFE35E
analogous
#5EB3EF #5E6AEF #9A5EEF
triadic
#5E6AEF #EF5E6A #6AEF5E
tetradic
#5E6AEF #EF5EB3 #EFE35E #5EEF9A
square
#5E6AEF #EF5EB3 #EFE35E #5EEF9A
split-complementary
#5E6AEF #EF9A5E #B3EF5E
monochromatic
#1321C0 #2636E9 #5E6AEF #969EF5 #CDD1FA

Accessibility & contrast

On white

4.39
#5E6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5E6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6AEF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6AEF#FFFFFF#000000##000000
##5E6AEF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e6aef;
/* rgb */ color: rgb(94, 106, 239);
/* oklch */ color: oklch(58.8% 0.198 274.7);
Tailwind
colors: {
  custom: {
    50: '#9994f5',
    500: '#5e6aef',
    950: '#000000',
  },
}
SCSS
$custom: #5e6aef;
$custom-light: #9994f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6aef",
  "rgb": {
    "r": 94,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 235.034,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.19766,
    "h": 274.7
  },
  "luminance": 0.1892
}

Semantic roles & 50–950 ramp

primary
#5E6AEF
secondary
#EDE9BC
accent
#CD07DE
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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