#4F82DA#4F82DA

#4F82DA is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.3% C 0.145 H 260.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4F82DA
RGBrgb(79, 130, 218)
HSLhsl(218, 65%, 58%)
HSVhsv(218, 64%, 85%)
CMYKcmyk(63.8%, 40.4%, 0%, 14.5%)
CIE-LABlab(54.75, 10.45, -50.17)
CIE-LCHlch(54.75, 51.25, 281.77°)
OKLaboklab(61.31% -0.0237 -0.1429)
OKLCHoklch(61.31% 0.145 260.6)
XYZxyz(23.8575, 22.6872, 69.4379)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82DA #DAA74F
analogous
#4FC7DA #4F82DA #614FDA
triadic
#4F82DA #DA4F82 #82DA4F
tetradic
#4F82DA #DA4FC7 #DAA74F #4FDA61
square
#4F82DA #DA4FC7 #DAA74F #4FDA61
split-complementary
#4F82DA #DA614F #C7DA4F
monochromatic
#1E4890 #2961C3 #4F82DA #82A6E5 #B4CAEF

Accessibility & contrast

On white

3.79
#4F82DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4F82DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F82DA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F82DA#FFFFFF#000000##000000
##4F82DA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADD
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#0096A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f82da;
/* rgb */ color: rgb(79, 130, 218);
/* oklch */ color: oklch(61.3% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#8da5e6',
    500: '#4f82da',
    950: '#000000',
  },
}
SCSS
$custom: #4f82da;
$custom-light: #8da5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82da",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 218
  },
  "hsl": {
    "h": 217.986,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.14481,
    "h": 260.6
  },
  "luminance": 0.22689
}

Semantic roles & 50–950 ramp

primary
#4F82DA
secondary
#DECAA7
accent
#AA40E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F82DA

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

Preview Lab → · Contrast checker → · Palette generator →

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