#5F80DB#5F80DB

#5F80DB is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.8% C 0.143 H 267.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5F80DB
RGBrgb(95, 128, 219)
HSLhsl(224, 63%, 62%)
HSVhsv(224, 57%, 86%)
CMYKcmyk(56.6%, 41.6%, 0%, 14.1%)
CIE-LABlab(55.06, 15.02, -50.20)
CIE-LCHlch(55.06, 52.40, 286.66°)
OKLaboklab(61.78% -0.0071 -0.1427)
OKLCHoklch(61.78% 0.143 267.2)
XYZxyz(25.2204, 22.9837, 70.1114)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80DB #DBBA5F
analogous
#5FBEDB #5F80DB #7C5FDB
triadic
#5F80DB #DB5F80 #80DB5F
tetradic
#5F80DB #DB5FBE #DBBA5F #5FDB7C
square
#5F80DB #DB5FBE #DBBA5F #5FDB7C
split-complementary
#5F80DB #DB7C5F #BEDB5F
monochromatic
#23439C #2E59CE #5F80DB #91A8E6 #C3CFF1

Accessibility & contrast

On white

3.75
#5F80DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5F80DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80DB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80DB#FFFFFF#000000##000000
##5F80DB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#0294A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f80db;
/* rgb */ color: rgb(95, 128, 219);
/* oklch */ color: oklch(61.8% 0.143 267.2);
Tailwind
colors: {
  custom: {
    50: '#95a4e6',
    500: '#5f80db',
    950: '#000000',
  },
}
SCSS
$custom: #5f80db;
$custom-light: #95a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80db",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 224.032,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.14285,
    "h": 267.2
  },
  "luminance": 0.22986
}

Semantic roles & 50–950 ramp

primary
#5F80DB
secondary
#E2D6B4
accent
#9C1ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F80DB

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

Preview Lab → · Contrast checker → · Palette generator →

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