#4F8CE7#4F8CE7

#4F8CE7 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.2% C 0.151 H 258.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4F8CE7
RGBrgb(79, 140, 231)
HSLhsl(216, 76%, 61%)
HSVhsv(216, 66%, 91%)
CMYKcmyk(65.8%, 39.4%, 0%, 9.4%)
CIE-LABlab(58.21, 8.89, -51.93)
CIE-LCHlch(58.21, 52.68, 279.71°)
OKLaboklab(64.22% -0.0307 -0.1479)
OKLCHoklch(64.22% 0.151 258.3)
XYZxyz(27.0212, 26.1853, 79.2160)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8CE7 #E7AA4F
analogous
#4FD8E7 #4F8CE7 #5E4FE7
triadic
#4F8CE7 #E74F8C #8CE74F
tetradic
#4F8CE7 #E74FD8 #E7AA4F #4FE75E
square
#4F8CE7 #E74FD8 #E7AA4F #4FE75E
split-complementary
#4F8CE7 #E75E4F #D8E74F
monochromatic
#1750A5 #1E6ADB #4F8CE7 #85AFEE #BBD2F6

Accessibility & contrast

On white

3.37
#4F8CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#4F8CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8CE7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8CE7#FFFFFF#000000##000000
##4F8CE71.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#4C85E5
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4f8ce7;
/* rgb */ color: rgb(79, 140, 231);
/* oklch */ color: oklch(64.2% 0.151 258.3);
Tailwind
colors: {
  custom: {
    50: '#8fadef',
    500: '#4f8ce7',
    950: '#000000',
  },
}
SCSS
$custom: #4f8ce7;
$custom-light: #8fadef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8ce7",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 215.921,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64223,
    "c": 0.15104,
    "h": 258.3
  },
  "luminance": 0.26188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F8CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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