#4F8BE7#4F8BE7

#4F8BE7 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.0% C 0.152 H 258.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4F8BE7
RGBrgb(79, 139, 231)
HSLhsl(216, 76%, 61%)
HSVhsv(216, 66%, 91%)
CMYKcmyk(65.8%, 39.8%, 0%, 9.4%)
CIE-LABlab(57.94, 9.49, -52.37)
CIE-LCHlch(57.94, 53.22, 280.27°)
OKLaboklab(64.01% -0.0298 -0.1492)
OKLCHoklch(64.01% 0.152 258.7)
XYZxyz(26.8757, 25.8944, 79.1676)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8BE7 #E7AB4F
analogous
#4FD7E7 #4F8BE7 #5F4FE7
triadic
#4F8BE7 #E74F8B #8BE74F
tetradic
#4F8BE7 #E74FD7 #E7AB4F #4FE75F
square
#4F8BE7 #E74FD7 #E7AB4F #4FE75F
split-complementary
#4F8BE7 #E75F4F #D7E74F
monochromatic
#174FA5 #1E68DB #4F8BE7 #85AEEE #BBD2F6

Accessibility & contrast

On white

3.40
#4F8BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#4F8BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8BE7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8BE7#FFFFFF#000000##000000
##4F8BE71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EB
Deuteranopia (green-blind)
#4A85E5
Tritanopia (blue-blind)
#00A0AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f8be7;
/* rgb */ color: rgb(79, 139, 231);
/* oklch */ color: oklch(64.0% 0.152 258.7);
Tailwind
colors: {
  custom: {
    50: '#8facef',
    500: '#4f8be7',
    950: '#000000',
  },
}
SCSS
$custom: #4f8be7;
$custom-light: #8facef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8be7",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 216.316,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64009,
    "c": 0.15212,
    "h": 258.7
  },
  "luminance": 0.25897
}

Semantic roles & 50–950 ramp

primary
#4F8BE7
secondary
#E6CFAC
accent
#880DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #4F8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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