#4F7FE7#4F7FE7

#4F7FE7 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.166 H 263.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F7FE7
RGBrgb(79, 127, 231)
HSLhsl(221, 76%, 61%)
HSVhsv(221, 66%, 91%)
CMYKcmyk(65.8%, 45%, 0%, 9.4%)
CIE-LABlab(54.67, 16.75, -57.59)
CIE-LCHlch(54.67, 59.98, 286.22°)
OKLaboklab(61.49% -0.0184 -0.1647)
OKLCHoklch(61.49% 0.166 263.6)
XYZxyz(25.2326, 22.6081, 78.6198)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FE7 #E7B74F
analogous
#4FCBE7 #4F7FE7 #6B4FE7
triadic
#4F7FE7 #E74F7F #7FE74F
tetradic
#4F7FE7 #E74FCB #E7B74F #4FE76B
square
#4F7FE7 #E74FCB #E7B74F #4FE76B
split-complementary
#4F7FE7 #E76B4F #CBE74F
monochromatic
#1744A5 #1E5ADB #4F7FE7 #85A6EE #BBCDF6

Accessibility & contrast

On white

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

On black

5.52
#4F7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FE7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FE7#FFFFFF#000000##000000
##4F7FE71.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEB
Deuteranopia (green-blind)
#307CE5
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f7fe7;
/* rgb */ color: rgb(79, 127, 231);
/* oklch */ color: oklch(61.5% 0.166 263.6);
Tailwind
colors: {
  custom: {
    50: '#8fa3ef',
    500: '#4f7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fe7;
$custom-light: #8fa3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fe7",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 221.053,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.16571,
    "h": 263.6
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

primary
#4F7FE7
secondary
#E6D4AC
accent
#980DD8
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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