#4F82CE#4F82CE

#4F82CE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.6% C 0.129 H 258.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4F82CE
RGBrgb(79, 130, 206)
HSLhsl(216, 56%, 56%)
HSVhsv(216, 62%, 81%)
CMYKcmyk(61.7%, 36.9%, 0%, 19.2%)
CIE-LABlab(54.11, 6.37, -44.41)
CIE-LCHlch(54.11, 44.86, 278.17°)
OKLaboklab(60.61% -0.0263 -0.126)
OKLCHoklch(60.61% 0.129 258.2)
XYZxyz(22.3437, 22.0817, 61.4653)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82CE #CE9B4F
analogous
#4FC1CE #4F82CE #5C4FCE
triadic
#4F82CE #CE4F82 #82CE4F
tetradic
#4F82CE #CE4FC1 #CE9B4F #4FCE5C
square
#4F82CE #CE4FC1 #CE9B4F #4FCE5C
split-complementary
#4F82CE #CE5C4F #C1CE4F
monochromatic
#23487F #3163AF #4F82CE #7FA4DB #AFC6E9

Accessibility & contrast

On white

3.88
#4F82CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4F82CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F82CE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F82CE#FFFFFF#000000##000000
##4F82CE1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f82ce;
/* rgb */ color: rgb(79, 130, 206);
/* oklch */ color: oklch(60.6% 0.129 258.2);
Tailwind
colors: {
  custom: {
    50: '#8ba5dd',
    500: '#4f82ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f82ce;
$custom-light: #8ba5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82ce",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 215.906,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6061,
    "c": 0.12872,
    "h": 258.2
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F82CE

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

Preview Lab → · Contrast checker → · Palette generator →

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