#5F82BF#5F82BF

#5F82BF is a mid, moderate blue. Relative luminance 0.222; OKLCH L 60.7% C 0.102 H 261.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5F82BF
RGBrgb(95, 130, 191)
HSLhsl(218, 43%, 56%)
HSVhsv(218, 50%, 75%)
CMYKcmyk(50.3%, 31.9%, 0%, 25.1%)
CIE-LABlab(54.19, 4.91, -35.70)
CIE-LCHlch(54.19, 36.03, 277.83°)
OKLaboklab(60.65% -0.0158 -0.1004)
OKLCHoklch(60.65% 0.102 261)
XYZxyz(22.1028, 22.1582, 52.3924)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82BF #BF9C5F
analogous
#5FB2BF #5F82BF #6C5FBF
triadic
#5F82BF #BF5F82 #82BF5F
tetradic
#5F82BF #BF5FB2 #BF9C5F #5FBF6C
square
#5F82BF #BF5FB2 #BF9C5F #5FBF6C
split-complementary
#5F82BF #BF6C5F #B2BF5F
monochromatic
#2F4875 #4063A1 #5F82BF #8BA4D0 #B6C6E2

Accessibility & contrast

On white

3.87
#5F82BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5F82BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82BF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82BF#FFFFFF#000000##000000
##5F82BF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C2
Deuteranopia (green-blind)
#5F7EBE
Tritanopia (blue-blind)
#338F98
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f82bf;
/* rgb */ color: rgb(95, 130, 191);
/* oklch */ color: oklch(60.7% 0.102 261.0);
Tailwind
colors: {
  custom: {
    50: '#92a6d2',
    500: '#5f82bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f82bf;
$custom-light: #92a6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82bf",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 191
  },
  "hsl": {
    "h": 218.125,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.1016,
    "h": 261
  },
  "luminance": 0.2216
}

Semantic roles & 50–950 ramp

primary
#5F82BF
secondary
#D1C2A9
accent
#A555D3
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F82BF

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

Preview Lab → · Contrast checker → · Palette generator →

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