#5F80EF#5F80EF

#5F80EF is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.0% C 0.170 H 268.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5F80EF
RGBrgb(95, 128, 239)
HSLhsl(226, 82%, 65%)
HSVhsv(226, 60%, 94%)
CMYKcmyk(60.3%, 46.4%, 0%, 6.3%)
CIE-LABlab(56.19, 21.59, -59.56)
CIE-LCHlch(56.19, 63.35, 289.92°)
OKLaboklab(63.01% -0.0039 -0.1702)
OKLCHoklch(63.01% 0.17 268.7)
XYZxyz(28.0132, 24.1009, 84.8203)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80EF #EFCE5F
analogous
#5FC8EF #5F80EF #865FEF
triadic
#5F80EF #EF5F80 #80EF5F
tetradic
#5F80EF #EF5FC8 #EFCE5F #5FEF86
square
#5F80EF #EF5FC8 #EFCE5F #5FEF86
split-complementary
#5F80EF #EF865F #C8EF5F
monochromatic
#133BC0 #2754E9 #5F80EF #97ACF5 #CED8FA

Accessibility & contrast

On white

3.61
#5F80EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5F80EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80EF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80EF#FFFFFF#000000##000000
##5F80EF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#3181ED
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f80ef;
/* rgb */ color: rgb(95, 128, 239);
/* oklch */ color: oklch(63.0% 0.170 268.7);
Tailwind
colors: {
  custom: {
    50: '#98a4f5',
    500: '#5f80ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f80ef;
$custom-light: #98a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80ef",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 226.25,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.17021,
    "h": 268.7
  },
  "luminance": 0.24103
}

Semantic roles & 50–950 ramp

primary
#5F80EF
secondary
#EDE2BD
accent
#AD07DE
background
#FAFAFF
surface
#F3F4FE
border
#CDCED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F80EF

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

Preview Lab → · Contrast checker → · Palette generator →

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