#5F80DA#5F80DA

#5F80DA is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.7% C 0.141 H 267.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5F80DA
RGBrgb(95, 128, 218)
HSLhsl(224, 62%, 61%)
HSVhsv(224, 56%, 85%)
CMYKcmyk(56.4%, 41.3%, 0%, 14.5%)
CIE-LABlab(55.00, 14.70, -49.72)
CIE-LCHlch(55.00, 51.85, 286.47°)
OKLaboklab(61.72% -0.0072 -0.1413)
OKLCHoklch(61.72% 0.141 267.1)
XYZxyz(25.0891, 22.9312, 69.4201)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80DA #DAB95F
analogous
#5FBEDA #5F80DA #7C5FDA
triadic
#5F80DA #DA5F80 #80DA5F
tetradic
#5F80DA #DA5FBE #DAB95F #5FDA7C
square
#5F80DA #DA5FBE #DAB95F #5FDA7C
split-complementary
#5F80DA #DA7C5F #BEDA5F
monochromatic
#24449B #2F59CD #5F80DA #91A7E5 #C2CFF1

Accessibility & contrast

On white

3.76
#5F80DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5F80DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80DA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80DA#FFFFFF#000000##000000
##5F80DA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADD
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#0694A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f80da;
/* rgb */ color: rgb(95, 128, 218);
/* oklch */ color: oklch(61.7% 0.141 267.1);
Tailwind
colors: {
  custom: {
    50: '#95a4e6',
    500: '#5f80da',
    950: '#000000',
  },
}
SCSS
$custom: #5f80da;
$custom-light: #95a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80da",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 218
  },
  "hsl": {
    "h": 223.902,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.14147,
    "h": 267.1
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

primary
#5F80DA
secondary
#E1D5B3
accent
#9B1BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F80DA

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

Preview Lab → · Contrast checker → · Palette generator →

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