#5E7FE5#5E7FE5

#5E7FE5 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.1% C 0.158 H 268.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5E7FE5
RGBrgb(94, 127, 229)
HSLhsl(225, 72%, 63%)
HSVhsv(225, 59%, 90%)
CMYKcmyk(59%, 44.5%, 0%, 10.2%)
CIE-LABlab(55.29, 18.71, -55.43)
CIE-LCHlch(55.29, 58.50, 288.65°)
OKLaboklab(62.13% -0.0053 -0.1581)
OKLCHoklch(62.13% 0.158 268.1)
XYZxyz(26.3435, 23.2134, 77.2059)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FE5 #E5C45E
analogous
#5EC3E5 #5E7FE5 #805EE5
triadic
#5E7FE5 #E55E7F #7FE55E
tetradic
#5E7FE5 #E55EC3 #E5C45E #5EE580
square
#5E7FE5 #E55EC3 #E5C45E #5EE580
split-complementary
#5E7FE5 #E5805E #C3E55E
monochromatic
#1C3FAD #2955DC #5E7FE5 #93A9EE #C7D3F6

Accessibility & contrast

On white

3.72
#5E7FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5E7FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FE5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FE5#FFFFFF#000000##000000
##5E7FE51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7fe5;
/* rgb */ color: rgb(94, 127, 229);
/* oklch */ color: oklch(62.1% 0.158 268.1);
Tailwind
colors: {
  custom: {
    50: '#96a3ee',
    500: '#5e7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fe5;
$custom-light: #96a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fe5",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 225.333,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62127,
    "c": 0.15815,
    "h": 268.1
  },
  "luminance": 0.23216
}

Semantic roles & 50–950 ramp

primary
#5E7FE5
secondary
#E7DCB7
accent
#A511D4
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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