#5F80EE#5F80EE

#5F80EE is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.169 H 268.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5F80EE
RGBrgb(95, 128, 238)
HSLhsl(226, 81%, 65%)
HSVhsv(226, 60%, 93%)
CMYKcmyk(60.1%, 46.2%, 0%, 6.7%)
CIE-LABlab(56.13, 21.26, -59.10)
CIE-LCHlch(56.13, 62.81, 289.78°)
OKLaboklab(62.95% -0.004 -0.1688)
OKLCHoklch(62.95% 0.169 268.6)
XYZxyz(27.8659, 24.0420, 84.0444)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80EE #EECD5F
analogous
#5FC7EE #5F80EE #855FEE
triadic
#5F80EE #EE5F80 #80EE5F
tetradic
#5F80EE #EE5FC7 #EECD5F #5FEE85
square
#5F80EE #EE5FC7 #EECD5F #5FEE85
split-complementary
#5F80EE #EE855F #C7EE5F
monochromatic
#143BBE #2854E8 #5F80EE #96ACF4 #CED8FA

Accessibility & contrast

On white

3.62
#5F80EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5F80EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80EE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80EE#FFFFFF#000000##000000
##5F80EE1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF2
Deuteranopia (green-blind)
#3381EC
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f80ee;
/* rgb */ color: rgb(95, 128, 238);
/* oklch */ color: oklch(62.9% 0.169 268.6);
Tailwind
colors: {
  custom: {
    50: '#98a4f4',
    500: '#5f80ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f80ee;
$custom-light: #98a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80ee",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 238
  },
  "hsl": {
    "h": 226.154,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6295,
    "c": 0.16886,
    "h": 268.6
  },
  "luminance": 0.24044
}

Semantic roles & 50–950 ramp

primary
#5F80EE
secondary
#ECE1BC
accent
#AC08DD
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F80EE

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

Preview Lab → · Contrast checker → · Palette generator →

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