#4F8CE5#4F8CE5

#4F8CE5 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.1% C 0.148 H 257.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4F8CE5
RGBrgb(79, 140, 229)
HSLhsl(216, 74%, 60%)
HSVhsv(216, 66%, 90%)
CMYKcmyk(65.5%, 38.9%, 0%, 10.2%)
CIE-LABlab(58.11, 8.20, -50.98)
CIE-LCHlch(58.11, 51.64, 279.14°)
OKLaboklab(64.11% -0.0312 -0.1451)
OKLCHoklch(64.11% 0.148 257.9)
XYZxyz(26.7403, 26.0729, 77.7369)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8CE5 #E5A84F
analogous
#4FD7E5 #4F8CE5 #5D4FE5
triadic
#4F8CE5 #E54F8C #8CE54F
tetradic
#4F8CE5 #E54FD7 #E5A84F #4FE55D
square
#4F8CE5 #E54FD7 #E5A84F #4FE55D
split-complementary
#4F8CE5 #E55D4F #D7E54F
monochromatic
#1850A2 #206AD7 #4F8CE5 #84AFED #BAD2F5

Accessibility & contrast

On white

3.38
#4F8CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#4F8CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8CE5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8CE5#FFFFFF#000000##000000
##4F8CE51.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E9
Deuteranopia (green-blind)
#4E85E3
Tritanopia (blue-blind)
#00A0AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4f8ce5;
/* rgb */ color: rgb(79, 140, 229);
/* oklch */ color: oklch(64.1% 0.148 257.9);
Tailwind
colors: {
  custom: {
    50: '#8fadee',
    500: '#4f8ce5',
    950: '#000000',
  },
}
SCSS
$custom: #4f8ce5;
$custom-light: #8fadee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8ce5",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 229
  },
  "hsl": {
    "h": 215.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64106,
    "c": 0.14843,
    "h": 257.9
  },
  "luminance": 0.26076
}

Semantic roles & 50–950 ramp

primary
#4F8CE5
secondary
#E5CDAB
accent
#850FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #4F8CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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