#5F82CE#5F82CE

#5F82CE is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.122 H 264.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F82CE
RGBrgb(95, 130, 206)
HSLhsl(221, 53%, 59%)
HSVhsv(221, 54%, 81%)
CMYKcmyk(53.9%, 36.9%, 0%, 19.2%)
CIE-LABlab(54.92, 9.63, -43.08)
CIE-LCHlch(54.92, 44.14, 282.60°)
OKLaboklab(61.45% -0.012 -0.1218)
OKLCHoklch(61.45% 0.122 264.4)
XYZxyz(23.8388, 22.8526, 61.5353)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82CE #CEAB5F
analogous
#5FBACE #5F82CE #745FCE
triadic
#5F82CE #CE5F82 #82CE5F
tetradic
#5F82CE #CE5FBA #CEAB5F #5FCE74
square
#5F82CE #CE5FBA #CEAB5F #5FCE74
split-complementary
#5F82CE #CE745F #BACE5F
monochromatic
#2A4889 #3860B8 #5F82CE #8EA7DC #BDCBEB

Accessibility & contrast

On white

3.77
#5F82CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5F82CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82CE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82CE#FFFFFF#000000##000000
##5F82CE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D1
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#22939E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f82ce;
/* rgb */ color: rgb(95, 130, 206);
/* oklch */ color: oklch(61.5% 0.122 264.4);
Tailwind
colors: {
  custom: {
    50: '#94a6dd',
    500: '#5f82ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f82ce;
$custom-light: #94a6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82ce",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 221.081,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.12242,
    "h": 264.4
  },
  "luminance": 0.22854
}

Semantic roles & 50–950 ramp

primary
#5F82CE
secondary
#DACCAF
accent
#AF4BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F82CE

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

Preview Lab → · Contrast checker → · Palette generator →

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