#5E7AF2#5E7AF2

#5E7AF2 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 62.0% C 0.182 H 270.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5E7AF2
RGBrgb(94, 122, 242)
HSLhsl(229, 85%, 66%)
HSVhsv(229, 61%, 95%)
CMYKcmyk(61.2%, 49.6%, 0%, 5.1%)
CIE-LABlab(54.77, 26.05, -63.51)
CIE-LCHlch(54.77, 68.65, 292.30°)
OKLaboklab(61.98% 0.0014 -0.1819)
OKLCHoklch(61.98% 0.182 270.4)
XYZxyz(27.5973, 22.7072, 86.9158)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AF2 #F2D65E
analogous
#5EC4F2 #5E7AF2 #8C5EF2
triadic
#5E7AF2 #F25E7A #7AF25E
tetradic
#5E7AF2 #F25EC4 #F2D65E #5EF28C
square
#5E7AF2 #F25EC4 #F2D65E #5EF28C
split-complementary
#5E7AF2 #F28C5E #C4F25E
monochromatic
#1032C6 #254BED #5E7AF2 #97A9F7 #CFD8FB

Accessibility & contrast

On white

3.79
#5E7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5E7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AF2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AF2#FFFFFF#000000##000000
##5E7AF21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#127DF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5e7af2;
/* rgb */ color: rgb(94, 122, 242);
/* oklch */ color: oklch(62.0% 0.182 270.4);
Tailwind
colors: {
  custom: {
    50: '#98a0f7',
    500: '#5e7af2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7af2;
$custom-light: #98a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7af2",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 228.649,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.18189,
    "h": 270.4
  },
  "luminance": 0.2271
}

Semantic roles & 50–950 ramp

primary
#5E7AF2
secondary
#EEE5BD
accent
#B804E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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