#5F80ED#5F80ED

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

Color values

HEX#5F80ED
RGBrgb(95, 128, 237)
HSLhsl(226, 80%, 65%)
HSVhsv(226, 60%, 93%)
CMYKcmyk(59.9%, 46%, 0%, 7.1%)
CIE-LABlab(56.07, 20.93, -58.64)
CIE-LCHlch(56.07, 62.26, 289.64°)
OKLaboklab(62.89% -0.0041 -0.1675)
OKLCHoklch(62.89% 0.168 268.6)
XYZxyz(27.7194, 23.9833, 83.2728)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80ED #EDCC5F
analogous
#5FC7ED #5F80ED #855FED
triadic
#5F80ED #ED5F80 #80ED5F
tetradic
#5F80ED #ED5FC7 #EDCC5F #5FED85
square
#5F80ED #ED5FC7 #EDCC5F #5FED85
split-complementary
#5F80ED #ED855F #C7ED5F
monochromatic
#153CBC #2854E7 #5F80ED #96ACF3 #CDD7F9

Accessibility & contrast

On white

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

On black

5.80
#5F80ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80ED
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80ED#FFFFFF#000000##000000
##5F80ED1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF1
Deuteranopia (green-blind)
#3480EB
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f80ed;
/* rgb */ color: rgb(95, 128, 237);
/* oklch */ color: oklch(62.9% 0.168 268.6);
Tailwind
colors: {
  custom: {
    50: '#98a4f3',
    500: '#5f80ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f80ed;
$custom-light: #98a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80ed",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 237
  },
  "hsl": {
    "h": 226.056,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62886,
    "c": 0.16751,
    "h": 268.6
  },
  "luminance": 0.23986
}

Semantic roles & 50–950 ramp

primary
#5F80ED
secondary
#ECE1BC
accent
#AB09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F80ED

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

Preview Lab → · Contrast checker → · Palette generator →

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