#4F82D4#4F82D4

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

Color values

HEX#4F82D4
RGBrgb(79, 130, 212)
HSLhsl(217, 61%, 57%)
HSVhsv(217, 63%, 83%)
CMYKcmyk(62.7%, 38.7%, 0%, 16.9%)
CIE-LABlab(54.43, 8.40, -47.30)
CIE-LCHlch(54.43, 48.04, 280.07°)
OKLaboklab(60.96% -0.025 -0.1345)
OKLCHoklch(60.96% 0.137 259.5)
XYZxyz(23.0865, 22.3789, 65.3775)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82D4 #D4A14F
analogous
#4FC5D4 #4F82D4 #5E4FD4
triadic
#4F82D4 #D44F82 #82D44F
tetradic
#4F82D4 #D44FC5 #D4A14F #4FD45E
square
#4F82D4 #D44FC5 #D4A14F #4FD45E
split-complementary
#4F82D4 #D45E4F #C5D44F
monochromatic
#214887 #2D63B9 #4F82D4 #80A5E0 #B1C8EC

Accessibility & contrast

On white

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

On black

5.48
#4F82D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F82D4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F82D4#FFFFFF#000000##000000
##4F82D41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f82d4;
/* rgb */ color: rgb(79, 130, 212);
/* oklch */ color: oklch(61.0% 0.137 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ca5e1',
    500: '#4f82d4',
    950: '#000000',
  },
}
SCSS
$custom: #4f82d4;
$custom-light: #8ca5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82d4",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 212
  },
  "hsl": {
    "h": 216.992,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.13676,
    "h": 259.5
  },
  "luminance": 0.22381
}

Semantic roles & 50–950 ramp

primary
#4F82D4
secondary
#DAC6A4
accent
#A744E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F82D4

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

Preview Lab → · Contrast checker → · Palette generator →

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