#5E7FE6#5E7FE6

#5E7FE6 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.2% C 0.160 H 268.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5E7FE6
RGBrgb(94, 127, 230)
HSLhsl(225, 73%, 64%)
HSVhsv(225, 59%, 90%)
CMYKcmyk(59.1%, 44.8%, 0%, 9.8%)
CIE-LABlab(55.35, 19.04, -55.90)
CIE-LCHlch(55.35, 59.05, 288.81°)
OKLaboklab(62.19% -0.0051 -0.1594)
OKLCHoklch(62.19% 0.16 268.2)
XYZxyz(26.4836, 23.2694, 77.9434)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FE6 #E6C55E
analogous
#5EC3E6 #5E7FE6 #815EE6
triadic
#5E7FE6 #E65E7F #7FE65E
tetradic
#5E7FE6 #E65EC3 #E6C55E #5EE681
square
#5E7FE6 #E65EC3 #E6C55E #5EE681
split-complementary
#5E7FE6 #E6815E #C3E65E
monochromatic
#1B3FAF #2955DE #5E7FE6 #93A9EE #C8D3F6

Accessibility & contrast

On white

3.71
#5E7FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5E7FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FE6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FE6#FFFFFF#000000##000000
##5E7FE61.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8BEA
Deuteranopia (green-blind)
#3B7FE4
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e7fe6;
/* rgb */ color: rgb(94, 127, 230);
/* oklch */ color: oklch(62.2% 0.160 268.2);
Tailwind
colors: {
  custom: {
    50: '#96a3ee',
    500: '#5e7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fe6;
$custom-light: #96a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fe6",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 225.441,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62189,
    "c": 0.15951,
    "h": 268.2
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#5E7FE6
secondary
#E8DCB8
accent
#A510D5
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5E7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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