#5E6FEA#5E6FEA

#5E6FEA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.3% C 0.185 H 273.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5E6FEA
RGBrgb(94, 111, 234)
HSLhsl(233, 77%, 64%)
HSVhsv(233, 60%, 92%)
CMYKcmyk(59.8%, 52.6%, 0%, 8.2%)
CIE-LABlab(51.48, 30.12, -64.35)
CIE-LCHlch(51.48, 71.05, 295.08°)
OKLaboklab(59.34% 0.0112 -0.1845)
OKLCHoklch(59.34% 0.185 273.5)
XYZxyz(25.1469, 19.6871, 80.3008)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6FEA #EAD95E
analogous
#5EB5EA #5E6FEA #935EEA
triadic
#5E6FEA #EA5E6F #6FEA5E
tetradic
#5E6FEA #EA5EB5 #EAD95E #5EEA93
square
#5E6FEA #EA5EB5 #EAD95E #5EEA93
split-complementary
#5E6FEA #EA935E #B5EA5E
monochromatic
#182BB6 #283FE3 #5E6FEA #949FF1 #CAD0F8

Accessibility & contrast

On white

4.25
#5E6FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5E6FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6FEA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6FEA#FFFFFF#000000##000000
##5E6FEA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281EE
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e6fea;
/* rgb */ color: rgb(94, 111, 234);
/* oklch */ color: oklch(59.3% 0.185 273.5);
Tailwind
colors: {
  custom: {
    50: '#9898f1',
    500: '#5e6fea',
    950: '#000000',
  },
}
SCSS
$custom: #5e6fea;
$custom-light: #9898f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6fea",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 232.714,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.18481,
    "h": 273.5
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#5E6FEA
secondary
#EAE4BA
accent
#C00CD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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