#5F80FE#5F80FE

#5F80FE is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.0% C 0.190 H 269.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5F80FE
RGBrgb(95, 128, 254)
HSLhsl(228, 99%, 68%)
HSVhsv(228, 63%, 100%)
CMYKcmyk(62.6%, 49.6%, 0%, 0.4%)
CIE-LABlab(57.10, 26.56, -66.40)
CIE-LCHlch(57.10, 71.51, 291.81°)
OKLaboklab(64% -0.0021 -0.1903)
OKLCHoklch(64% 0.19 269.4)
XYZxyz(30.3218, 25.0243, 96.9790)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80FE #FEDD5F
analogous
#5FCFFE #5F80FE #8D5FFE
triadic
#5F80FE #FE5F80 #80FE5F
tetradic
#5F80FE #FE5FCF #FEDD5F #5FFE8D
square
#5F80FE #FE5FCF #FEDD5F #5FFE8D
split-complementary
#5F80FE #FE8D5F #CFFE5F
monochromatic
#0130E1 #2250FE #5F80FE #9CB0FE #D9E1FF

Accessibility & contrast

On white

3.50
#5F80FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5F80FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80FE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80FE#FFFFFF#000000##000000
##5F80FE1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#0682FB
Tritanopia (blue-blind)
#009DB3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f80fe;
/* rgb */ color: rgb(95, 128, 254);
/* oklch */ color: oklch(64.0% 0.190 269.4);
Tailwind
colors: {
  custom: {
    50: '#9ba4ff',
    500: '#5f80fe',
    950: '#000000',
  },
}
SCSS
$custom: #5f80fe;
$custom-light: #9ba4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80fe",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 227.547,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63999,
    "c": 0.19028,
    "h": 269.4
  },
  "luminance": 0.25027
}

Semantic roles & 50–950 ramp

primary
#5F80FE
secondary
#F4EAC4
accent
#B600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F80FE

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

Preview Lab → · Contrast checker → · Palette generator →

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