#5E7DEA#5E7DEA

#5E7DEA is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.167 H 269.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5E7DEA
RGBrgb(94, 125, 234)
HSLhsl(227, 77%, 64%)
HSVhsv(227, 60%, 92%)
CMYKcmyk(59.8%, 46.6%, 0%, 8.2%)
CIE-LABlab(55.06, 21.57, -58.60)
CIE-LCHlch(55.06, 62.44, 290.21°)
OKLaboklab(62.04% -0.0025 -0.1674)
OKLCHoklch(62.04% 0.167 269.1)
XYZxyz(26.7960, 22.9852, 80.8505)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DEA #EACB5E
analogous
#5EC3EA #5E7DEA #855EEA
triadic
#5E7DEA #EA5E7D #7DEA5E
tetradic
#5E7DEA #EA5EC3 #EACB5E #5EEA85
square
#5E7DEA #EA5EC3 #EACB5E #5EEA85
split-complementary
#5E7DEA #EA855E #C3EA5E
monochromatic
#183BB6 #2851E3 #5E7DEA #94A9F1 #CAD4F8

Accessibility & contrast

On white

3.75
#5E7DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5E7DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DEA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DEA#FFFFFF#000000##000000
##5E7DEA1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488AEE
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7dea;
/* rgb */ color: rgb(94, 125, 234);
/* oklch */ color: oklch(62.0% 0.167 269.1);
Tailwind
colors: {
  custom: {
    50: '#97a2f1',
    500: '#5e7dea',
    950: '#000000',
  },
}
SCSS
$custom: #5e7dea;
$custom-light: #97a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7dea",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 234
  },
  "hsl": {
    "h": 226.714,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.16741,
    "h": 269.1
  },
  "luminance": 0.22987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E7DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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