#5E7EF2#5E7EF2

#5E7EF2 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.8% C 0.177 H 269.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5E7EF2
RGBrgb(94, 126, 242)
HSLhsl(227, 85%, 66%)
HSVhsv(227, 61%, 95%)
CMYKcmyk(61.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(55.80, 23.62, -61.86)
CIE-LCHlch(55.80, 66.22, 290.90°)
OKLaboklab(62.76% -0.0025 -0.177)
OKLCHoklch(62.76% 0.177 269.2)
XYZxyz(28.0985, 23.7098, 87.0829)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7EF2 #F2D25E
analogous
#5EC8F2 #5E7EF2 #885EF2
triadic
#5E7EF2 #F25E7E #7EF25E
tetradic
#5E7EF2 #F25EC8 #F2D25E #5EF288
square
#5E7EF2 #F25EC8 #F2D25E #5EF288
split-complementary
#5E7EF2 #F2885E #C8F25E
monochromatic
#1037C6 #2551ED #5E7EF2 #97ABF7 #CFD9FB

Accessibility & contrast

On white

3.66
#5E7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5E7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7EF2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7EF2#FFFFFF#000000##000000
##5E7EF21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF6
Deuteranopia (green-blind)
#257FF0
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e7ef2;
/* rgb */ color: rgb(94, 126, 242);
/* oklch */ color: oklch(62.8% 0.177 269.2);
Tailwind
colors: {
  custom: {
    50: '#98a3f7',
    500: '#5e7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ef2;
$custom-light: #98a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ef2",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 227.027,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.177,
    "h": 269.2
  },
  "luminance": 0.23712
}

Semantic roles & 50–950 ramp

primary
#5E7EF2
secondary
#EEE4BD
accent
#B204E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5E7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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