#5E7EEA#5E7EEA

#5E7EEA is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.2% C 0.166 H 268.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5E7EEA
RGBrgb(94, 126, 234)
HSLhsl(226, 77%, 64%)
HSVhsv(226, 60%, 92%)
CMYKcmyk(59.8%, 46.2%, 0%, 8.2%)
CIE-LABlab(55.32, 20.97, -58.18)
CIE-LCHlch(55.32, 61.84, 289.82°)
OKLaboklab(62.24% -0.0035 -0.1661)
OKLCHoklch(62.24% 0.166 268.8)
XYZxyz(26.9232, 23.2397, 80.8929)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7EEA #EACA5E
analogous
#5EC4EA #5E7EEA #845EEA
triadic
#5E7EEA #EA5E7E #7EEA5E
tetradic
#5E7EEA #EA5EC4 #EACA5E #5EEA84
square
#5E7EEA #EA5EC4 #EACA5E #5EEA84
split-complementary
#5E7EEA #EA845E #C4EA5E
monochromatic
#183CB6 #2853E3 #5E7EEA #94A9F1 #CAD5F8

Accessibility & contrast

On white

3.72
#5E7EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5E7EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7EEA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7EEA#FFFFFF#000000##000000
##5E7EEA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BEE
Deuteranopia (green-blind)
#337FE8
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7eea;
/* rgb */ color: rgb(94, 126, 234);
/* oklch */ color: oklch(62.2% 0.166 268.8);
Tailwind
colors: {
  custom: {
    50: '#97a3f1',
    500: '#5e7eea',
    950: '#000000',
  },
}
SCSS
$custom: #5e7eea;
$custom-light: #97a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7eea",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 226.286,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62241,
    "c": 0.16618,
    "h": 268.8
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#5E7EEA
secondary
#EADFBA
accent
#AA0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5E7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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