#4F7FE8#4F7FE8

#4F7FE8 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.167 H 263.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F7FE8
RGBrgb(79, 127, 232)
HSLhsl(221, 77%, 61%)
HSVhsv(221, 66%, 91%)
CMYKcmyk(65.9%, 45.3%, 0%, 9%)
CIE-LABlab(54.73, 17.10, -58.05)
CIE-LCHlch(54.73, 60.52, 286.41°)
OKLaboklab(61.55% -0.0182 -0.166)
OKLCHoklch(61.55% 0.167 263.7)
XYZxyz(25.3742, 22.6647, 79.3658)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FE8 #E8B84F
analogous
#4FCCE8 #4F7FE8 #6B4FE8
triadic
#4F7FE8 #E84F7F #7FE84F
tetradic
#4F7FE8 #E84FCC #E8B84F #4FE86B
square
#4F7FE8 #E84FCC #E8B84F #4FE86B
split-complementary
#4F7FE8 #E86B4F #CCE84F
monochromatic
#1643A7 #1D59DD #4F7FE8 #85A6EF #BBCEF6

Accessibility & contrast

On white

3.80
#4F7FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4F7FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FE8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FE8#FFFFFF#000000##000000
##4F7FE81.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEC
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f7fe8;
/* rgb */ color: rgb(79, 127, 232);
/* oklch */ color: oklch(61.5% 0.167 263.7);
Tailwind
colors: {
  custom: {
    50: '#8fa3f0',
    500: '#4f7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fe8;
$custom-light: #8fa3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fe8",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 221.176,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.16705,
    "h": 263.7
  },
  "luminance": 0.22667
}

Semantic roles & 50–950 ramp

primary
#4F7FE8
secondary
#E6D4AD
accent
#990CD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4F7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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