#4F82D5#4F82D5

#4F82D5 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.138 H 259.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4F82D5
RGBrgb(79, 130, 213)
HSLhsl(217, 61%, 57%)
HSVhsv(217, 63%, 84%)
CMYKcmyk(62.9%, 39%, 0%, 16.5%)
CIE-LABlab(54.48, 8.74, -47.78)
CIE-LCHlch(54.48, 48.58, 280.37°)
OKLaboklab(61.01% -0.0247 -0.1359)
OKLCHoklch(61.01% 0.138 259.7)
XYZxyz(23.2131, 22.4295, 66.0439)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82D5 #D5A24F
analogous
#4FC5D5 #4F82D5 #5F4FD5
triadic
#4F82D5 #D54F82 #82D54F
tetradic
#4F82D5 #D54FC5 #D5A24F #4FD55F
square
#4F82D5 #D54FC5 #D5A24F #4FD55F
split-complementary
#4F82D5 #D55F4F #C5D54F
monochromatic
#214889 #2C62BA #4F82D5 #80A5E1 #B2C8ED

Accessibility & contrast

On white

3.83
#4F82D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4F82D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F82D5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F82D5#FFFFFF#000000##000000
##4F82D51.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D89D8
Deuteranopia (green-blind)
#4A7DD3
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f82d5;
/* rgb */ color: rgb(79, 130, 213);
/* oklch */ color: oklch(61.0% 0.138 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ca5e2',
    500: '#4f82d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f82d5;
$custom-light: #8ca5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82d5",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 213
  },
  "hsl": {
    "h": 217.164,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61014,
    "c": 0.13809,
    "h": 259.7
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#4F82D5
secondary
#DBC6A5
accent
#A743E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F82D5

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

Preview Lab → · Contrast checker → · Palette generator →

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