#5E7DEC#5E7DEC

#5E7DEC is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.2% C 0.170 H 269.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5E7DEC
RGBrgb(94, 125, 236)
HSLhsl(227, 79%, 65%)
HSVhsv(227, 60%, 93%)
CMYKcmyk(60.2%, 47%, 0%, 7.5%)
CIE-LABlab(55.18, 22.23, -59.52)
CIE-LCHlch(55.18, 63.54, 290.48°)
OKLaboklab(62.17% -0.0022 -0.1701)
OKLCHoklch(62.17% 0.17 269.2)
XYZxyz(27.0849, 23.1008, 82.3722)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DEC #ECCD5E
analogous
#5EC4EC #5E7DEC #865EEC
triadic
#5E7DEC #EC5E7D #7DEC5E
tetradic
#5E7DEC #EC5EC4 #ECCD5E #5EEC86
square
#5E7DEC #EC5EC4 #ECCD5E #5EEC86
split-complementary
#5E7DEC #EC865E #C4EC5E
monochromatic
#163ABA #2751E6 #5E7DEC #95A9F2 #CBD5F9

Accessibility & contrast

On white

3.74
#5E7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5E7DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DEC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DEC#FFFFFF#000000##000000
##5E7DEC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#2D7EEA
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7dec;
/* rgb */ color: rgb(94, 125, 236);
/* oklch */ color: oklch(62.2% 0.170 269.2);
Tailwind
colors: {
  custom: {
    50: '#97a2f3',
    500: '#5e7dec',
    950: '#000000',
  },
}
SCSS
$custom: #5e7dec;
$custom-light: #97a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7dec",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 226.901,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.17011,
    "h": 269.2
  },
  "luminance": 0.23103
}

Semantic roles & 50–950 ramp

primary
#5E7DEC
secondary
#EBE1BB
accent
#AE0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5E7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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