#5E7FE2#5E7FE2

#5E7FE2 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.9% C 0.154 H 267.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5E7FE2
RGBrgb(94, 127, 226)
HSLhsl(225, 69%, 63%)
HSVhsv(225, 58%, 89%)
CMYKcmyk(58.4%, 43.8%, 0%, 11.4%)
CIE-LABlab(55.12, 17.72, -54.02)
CIE-LCHlch(55.12, 56.85, 288.16°)
OKLaboklab(61.94% -0.0057 -0.1539)
OKLCHoklch(61.94% 0.154 267.9)
XYZxyz(25.9283, 23.0473, 75.0190)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FE2 #E2C15E
analogous
#5EC1E2 #5E7FE2 #7F5EE2
triadic
#5E7FE2 #E25E7F #7FE25E
tetradic
#5E7FE2 #E25EC1 #E2C15E #5EE27F
square
#5E7FE2 #E25EC1 #E2C15E #5EE27F
split-complementary
#5E7FE2 #E27F5E #C1E25E
monochromatic
#1E40A7 #2A56D9 #5E7FE2 #92A8EB #C6D1F5

Accessibility & contrast

On white

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

On black

5.61
#5E7FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FE2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FE2#FFFFFF#000000##000000
##5E7FE21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7fe2;
/* rgb */ color: rgb(94, 127, 226);
/* oklch */ color: oklch(61.9% 0.154 267.9);
Tailwind
colors: {
  custom: {
    50: '#96a3ec',
    500: '#5e7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fe2;
$custom-light: #96a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fe2",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 225,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.15404,
    "h": 267.9
  },
  "luminance": 0.23049
}

Semantic roles & 50–950 ramp

primary
#5E7FE2
secondary
#E6DAB6
accent
#A214D1
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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