#4F81E7#4F81E7

#4F81E7 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.163 H 262.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4F81E7
RGBrgb(79, 129, 231)
HSLhsl(220, 76%, 61%)
HSVhsv(220, 66%, 91%)
CMYKcmyk(65.8%, 44.2%, 0%, 9.4%)
CIE-LABlab(55.21, 15.53, -56.72)
CIE-LCHlch(55.21, 58.81, 285.31°)
OKLaboklab(61.9% -0.0203 -0.1621)
OKLCHoklch(61.9% 0.163 262.9)
XYZxyz(25.4934, 23.1298, 78.7068)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81E7 #E7B54F
analogous
#4FCDE7 #4F81E7 #694FE7
triadic
#4F81E7 #E74F81 #81E74F
tetradic
#4F81E7 #E74FCD #E7B54F #4FE769
square
#4F81E7 #E74FCD #E7B54F #4FE769
split-complementary
#4F81E7 #E7694F #CDE74F
monochromatic
#1745A5 #1E5CDB #4F81E7 #85A8EE #BBCEF6

Accessibility & contrast

On white

3.73
#4F81E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4F81E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F81E7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F81E7#FFFFFF#000000##000000
##4F81E71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f81e7;
/* rgb */ color: rgb(79, 129, 231);
/* oklch */ color: oklch(61.9% 0.163 262.9);
Tailwind
colors: {
  custom: {
    50: '#8fa5ef',
    500: '#4f81e7',
    950: '#000000',
  },
}
SCSS
$custom: #4f81e7;
$custom-light: #8fa5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81e7",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 231
  },
  "hsl": {
    "h": 220.263,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.16338,
    "h": 262.9
  },
  "luminance": 0.23132
}

Semantic roles & 50–950 ramp

primary
#4F81E7
secondary
#E6D3AC
accent
#950DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F81E7

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

Preview Lab → · Contrast checker → · Palette generator →

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