#4F81E6#4F81E6

#4F81E6 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.8% C 0.162 H 262.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4F81E6
RGBrgb(79, 129, 230)
HSLhsl(220, 75%, 61%)
HSVhsv(220, 66%, 90%)
CMYKcmyk(65.7%, 43.9%, 0%, 9.8%)
CIE-LABlab(55.15, 15.19, -56.26)
CIE-LCHlch(55.15, 58.27, 285.11°)
OKLaboklab(61.84% -0.0204 -0.1607)
OKLCHoklch(61.84% 0.162 262.8)
XYZxyz(25.3526, 23.0735, 77.9651)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81E6 #E6B44F
analogous
#4FCDE6 #4F81E6 #684FE6
triadic
#4F81E6 #E64F81 #81E64F
tetradic
#4F81E6 #E64FCD #E6B44F #4FE668
square
#4F81E6 #E64FCD #E6B44F #4FE668
split-complementary
#4F81E6 #E6684F #CDE64F
monochromatic
#1746A3 #1F5CD9 #4F81E6 #85A7EE #BACEF5

Accessibility & contrast

On white

3.74
#4F81E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#4F81E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F81E6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F81E6#FFFFFF#000000##000000
##4F81E61.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BEA
Deuteranopia (green-blind)
#367EE4
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f81e6;
/* rgb */ color: rgb(79, 129, 230);
/* oklch */ color: oklch(61.8% 0.162 262.8);
Tailwind
colors: {
  custom: {
    50: '#8fa5ee',
    500: '#4f81e6',
    950: '#000000',
  },
}
SCSS
$custom: #4f81e6;
$custom-light: #8fa5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81e6",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 230
  },
  "hsl": {
    "h": 220.132,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.16204,
    "h": 262.8
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

primary
#4F81E6
secondary
#E5D2AC
accent
#950ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F81E6

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

Preview Lab → · Contrast checker → · Palette generator →

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