#5E7FEA#5E7FEA

#5E7FEA is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.4% C 0.165 H 268.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5E7FEA
RGBrgb(94, 127, 234)
HSLhsl(226, 77%, 64%)
HSVhsv(226, 60%, 92%)
CMYKcmyk(59.8%, 45.7%, 0%, 8.2%)
CIE-LABlab(55.58, 20.36, -57.76)
CIE-LCHlch(55.58, 61.24, 289.42°)
OKLaboklab(62.44% -0.0045 -0.1649)
OKLCHoklch(62.44% 0.165 268.4)
XYZxyz(27.0517, 23.4967, 80.9357)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FEA #EAC95E
analogous
#5EC5EA #5E7FEA #835EEA
triadic
#5E7FEA #EA5E7F #7FEA5E
tetradic
#5E7FEA #EA5EC5 #EAC95E #5EEA83
square
#5E7FEA #EA5EC5 #EAC95E #5EEA83
split-complementary
#5E7FEA #EA835E #C5EA5E
monochromatic
#183DB6 #2854E3 #5E7FEA #94AAF1 #CAD5F8

Accessibility & contrast

On white

3.68
#5E7FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5E7FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FEA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FEA#FFFFFF#000000##000000
##5E7FEA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEE
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e7fea;
/* rgb */ color: rgb(94, 127, 234);
/* oklch */ color: oklch(62.4% 0.165 268.4);
Tailwind
colors: {
  custom: {
    50: '#97a3f1',
    500: '#5e7fea',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fea;
$custom-light: #97a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fea",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 225.857,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62441,
    "c": 0.16496,
    "h": 268.4
  },
  "luminance": 0.23499
}

Semantic roles & 50–950 ramp

primary
#5E7FEA
secondary
#EADFBA
accent
#A90CD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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