#4F82CD#4F82CD

#4F82CD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.127 H 258.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4F82CD
RGBrgb(79, 130, 205)
HSLhsl(216, 56%, 56%)
HSVhsv(216, 61%, 80%)
CMYKcmyk(61.5%, 36.6%, 0%, 19.6%)
CIE-LABlab(54.06, 6.03, -43.92)
CIE-LCHlch(54.06, 44.33, 277.82°)
OKLaboklab(60.55% -0.0266 -0.1246)
OKLCHoklch(60.55% 0.127 258)
XYZxyz(22.2226, 22.0333, 60.8275)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82CD #CD9A4F
analogous
#4FC1CD #4F82CD #5B4FCD
triadic
#4F82CD #CD4F82 #82CD4F
tetradic
#4F82CD #CD4FC1 #CD9A4F #4FCD5B
square
#4F82CD #CD4FC1 #CD9A4F #4FCD5B
split-complementary
#4F82CD #CD5B4F #C1CD4F
monochromatic
#24487E #3164AE #4F82CD #7FA4DB #AEC6E8

Accessibility & contrast

On white

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

On black

5.41
#4F82CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F82CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F82CD#FFFFFF#000000##000000
##4F82CD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f82cd;
/* rgb */ color: rgb(79, 130, 205);
/* oklch */ color: oklch(60.6% 0.127 258.0);
Tailwind
colors: {
  custom: {
    50: '#8ba5dc',
    500: '#4f82cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f82cd;
$custom-light: #8ba5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82cd",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 215.714,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.12738,
    "h": 258
  },
  "luminance": 0.22035
}

Semantic roles & 50–950 ramp

primary
#4F82CD
secondary
#D6C1A2
accent
#A249DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F82CD

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

Preview Lab → · Contrast checker → · Palette generator →

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