#5F80EA#5F80EA

#5F80EA is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.7% C 0.163 H 268.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5F80EA
RGBrgb(95, 128, 234)
HSLhsl(226, 77%, 65%)
HSVhsv(226, 59%, 92%)
CMYKcmyk(59.4%, 45.3%, 0%, 8.2%)
CIE-LABlab(55.90, 19.94, -57.25)
CIE-LCHlch(55.90, 60.62, 289.20°)
OKLaboklab(62.7% -0.0046 -0.1634)
OKLCHoklch(62.7% 0.163 268.4)
XYZxyz(27.2848, 23.8095, 80.9838)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80EA #EAC95F
analogous
#5FC6EA #5F80EA #835FEA
triadic
#5F80EA #EA5F80 #80EA5F
tetradic
#5F80EA #EA5FC6 #EAC95F #5FEA83
square
#5F80EA #EA5FC6 #EAC95F #5FEA83
split-complementary
#5F80EA #EA835F #C6EA5F
monochromatic
#183EB7 #2955E3 #5F80EA #95ABF1 #CBD6F8

Accessibility & contrast

On white

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

On black

5.76
#5F80EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80EA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80EA#FFFFFF#000000##000000
##5F80EA1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f80ea;
/* rgb */ color: rgb(95, 128, 234);
/* oklch */ color: oklch(62.7% 0.163 268.4);
Tailwind
colors: {
  custom: {
    50: '#97a4f1',
    500: '#5f80ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f80ea;
$custom-light: #97a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80ea",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 225.755,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62697,
    "c": 0.16343,
    "h": 268.4
  },
  "luminance": 0.23812
}

Semantic roles & 50–950 ramp

primary
#5F80EA
secondary
#EADFBA
accent
#A80CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F80EA

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

Preview Lab → · Contrast checker → · Palette generator →

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