#5F80EB#5F80EB

#5F80EB is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.8% C 0.165 H 268.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F80EB
RGBrgb(95, 128, 235)
HSLhsl(226, 78%, 65%)
HSVhsv(226, 60%, 92%)
CMYKcmyk(59.6%, 45.5%, 0%, 7.8%)
CIE-LABlab(55.95, 20.27, -57.71)
CIE-LCHlch(55.95, 61.17, 289.35°)
OKLaboklab(62.76% -0.0044 -0.1647)
OKLCHoklch(62.76% 0.165 268.5)
XYZxyz(27.4288, 23.8671, 81.7425)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80EB #EBCA5F
analogous
#5FC6EB #5F80EB #845FEB
triadic
#5F80EB #EB5F80 #80EB5F
tetradic
#5F80EB #EB5FC6 #EBCA5F #5FEB84
square
#5F80EB #EB5FC6 #EBCA5F #5FEB84
split-complementary
#5F80EB #EB845F #C6EB5F
monochromatic
#173DB9 #2955E4 #5F80EB #95ABF2 #CCD6F9

Accessibility & contrast

On white

3.64
#5F80EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5F80EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80EB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80EB#FFFFFF#000000##000000
##5F80EB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f80eb;
/* rgb */ color: rgb(95, 128, 235);
/* oklch */ color: oklch(62.8% 0.165 268.5);
Tailwind
colors: {
  custom: {
    50: '#98a4f2',
    500: '#5f80eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f80eb;
$custom-light: #98a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80eb",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 225.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6276,
    "c": 0.16479,
    "h": 268.5
  },
  "luminance": 0.23869
}

Semantic roles & 50–950 ramp

primary
#5F80EB
secondary
#EBE0BB
accent
#A90BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F80EB

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

Preview Lab → · Contrast checker → · Palette generator →

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