#4F82E5#4F82E5

#4F82E5 is a mid, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.160 H 262.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4F82E5
RGBrgb(79, 130, 229)
HSLhsl(220, 74%, 60%)
HSVhsv(220, 66%, 90%)
CMYKcmyk(65.5%, 43.2%, 0%, 10.2%)
CIE-LABlab(55.36, 14.23, -55.36)
CIE-LCHlch(55.36, 57.16, 284.42°)
OKLaboklab(61.98% -0.0215 -0.1581)
OKLCHoklch(61.98% 0.16 262.2)
XYZxyz(25.3449, 23.2822, 77.2718)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F82E5 #E5B24F
analogous
#4FCDE5 #4F82E5 #674FE5
triadic
#4F82E5 #E54F82 #82E54F
tetradic
#4F82E5 #E54FCD #E5B24F #4FE567
square
#4F82E5 #E54FCD #E5B24F #4FE567
split-complementary
#4F82E5 #E5674F #CDE54F
monochromatic
#1847A2 #205ED7 #4F82E5 #84A8ED #BACEF5

Accessibility & contrast

On white

3.71
#4F82E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4F82E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F82E5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F82E5#FFFFFF#000000##000000
##4F82E51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#538CE9
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#0099A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f82e5;
/* rgb */ color: rgb(79, 130, 229);
/* oklch */ color: oklch(62.0% 0.160 262.2);
Tailwind
colors: {
  custom: {
    50: '#8fa5ee',
    500: '#4f82e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f82e5;
$custom-light: #8fa5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f82e5",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 229
  },
  "hsl": {
    "h": 219.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.15955,
    "h": 262.2
  },
  "luminance": 0.23285
}

Semantic roles & 50–950 ramp

primary
#4F82E5
secondary
#E5D1AB
accent
#930FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F82E5

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

Preview Lab → · Contrast checker → · Palette generator →

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