#4F86D7#4F86D7

#4F86D7 is a mid, vivid blue. Relative luminance 0.236; OKLCH L 62.0% C 0.136 H 258.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4F86D7
RGBrgb(79, 134, 215)
HSLhsl(216, 63%, 58%)
HSVhsv(216, 63%, 84%)
CMYKcmyk(63.3%, 37.7%, 0%, 15.7%)
CIE-LABlab(55.70, 7.02, -46.97)
CIE-LCHlch(55.70, 47.49, 278.50°)
OKLaboklab(62% -0.0284 -0.1334)
OKLCHoklch(62% 0.136 258)
XYZxyz(24.0109, 23.6165, 67.5699)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F86D7 #D7A04F
analogous
#4FCAD7 #4F86D7 #5C4FD7
triadic
#4F86D7 #D74F86 #86D74F
tetradic
#4F86D7 #D74FCA #D7A04F #4FD75C
square
#4F86D7 #D74FCA #D7A04F #4FD75C
split-complementary
#4F86D7 #D75C4F #CAD74F
monochromatic
#204B8C #2B66BE #4F86D7 #81A8E2 #B3CBEE

Accessibility & contrast

On white

3.67
#4F86D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#4F86D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F86D7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F86D7#FFFFFF#000000##000000
##4F86D71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CDA
Deuteranopia (green-blind)
#4F80D5
Tritanopia (blue-blind)
#0098A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f86d7;
/* rgb */ color: rgb(79, 134, 215);
/* oklch */ color: oklch(62.0% 0.136 258.0);
Tailwind
colors: {
  custom: {
    50: '#8da8e4',
    500: '#4f86d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f86d7;
$custom-light: #8da8e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f86d7",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 215
  },
  "hsl": {
    "h": 215.735,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.13641,
    "h": 258
  },
  "luminance": 0.23619
}

Semantic roles & 50–950 ramp

primary
#4F86D7
secondary
#DCC6A6
accent
#A442E6
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4F86D7

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

Preview Lab → · Contrast checker → · Palette generator →

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