#4F82CF#4F82CF

#4F82CF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.130 H 258.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4F82CF
RGBrgb(79, 130, 207)
HSLhsl(216, 57%, 56%)
HSVhsv(216, 62%, 81%)
CMYKcmyk(61.8%, 37.2%, 0%, 18.8%)
CIE-LABlab(54.17, 6.71, -44.89)
CIE-LCHlch(54.17, 45.39, 278.50°)
OKLaboklab(60.67% -0.0261 -0.1274)
OKLCHoklch(60.67% 0.13 258.4)
XYZxyz(22.4656, 22.1305, 62.1071)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82CF #CF9C4F
analogous
#4FC2CF #4F82CF #5C4FCF
triadic
#4F82CF #CF4F82 #82CF4F
tetradic
#4F82CF #CF4FC2 #CF9C4F #4FCF5C
square
#4F82CF #CF4FC2 #CF9C4F #4FCF5C
split-complementary
#4F82CF #CF5C4F #C2CF4F
monochromatic
#234881 #3063B1 #4F82CF #7FA4DC #AFC6E9

Accessibility & contrast

On white

3.87
#4F82CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4F82CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F82CF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F82CF#FFFFFF#000000##000000
##4F82CF1.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)
#6188D2
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f82cf;
/* rgb */ color: rgb(79, 130, 207);
/* oklch */ color: oklch(60.7% 0.130 258.4);
Tailwind
colors: {
  custom: {
    50: '#8ba5de',
    500: '#4f82cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f82cf;
$custom-light: #8ba5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82cf",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 216.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.13005,
    "h": 258.4
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#4F82CF
secondary
#D7C2A2
accent
#A347E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F82CF

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

Preview Lab → · Contrast checker → · Palette generator →

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