#5F82CF#5F82CF

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

Color values

HEX#5F82CF
RGBrgb(95, 130, 207)
HSLhsl(221, 54%, 59%)
HSVhsv(221, 54%, 81%)
CMYKcmyk(54.1%, 37.2%, 0%, 18.8%)
CIE-LABlab(54.97, 9.95, -43.57)
CIE-LCHlch(54.97, 44.69, 282.86°)
OKLaboklab(61.51% -0.0118 -0.1232)
OKLCHoklch(61.51% 0.124 264.5)
XYZxyz(23.9606, 22.9014, 62.1772)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82CF #CFAC5F
analogous
#5FBACF #5F82CF #745FCF
triadic
#5F82CF #CF5F82 #82CF5F
tetradic
#5F82CF #CF5FBA #CFAC5F #5FCF74
square
#5F82CF #CF5FBA #CFAC5F #5FCF74
split-complementary
#5F82CF #CF745F #BACF5F
monochromatic
#29488A #3860B9 #5F82CF #8EA7DD #BDCCEB

Accessibility & contrast

On white

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

On black

5.58
#5F82CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82CF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82CF#FFFFFF#000000##000000
##5F82CF1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#557FCD
Tritanopia (blue-blind)
#21939F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f82cf;
/* rgb */ color: rgb(95, 130, 207);
/* oklch */ color: oklch(61.5% 0.124 264.5);
Tailwind
colors: {
  custom: {
    50: '#94a6de',
    500: '#5f82cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f82cf;
$custom-light: #94a6de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82cf",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 221.25,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61509,
    "c": 0.12381,
    "h": 264.5
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F82CF

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

Preview Lab → · Contrast checker → · Palette generator →

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