#4F7FC5#4F7FC5

#4F7FC5 is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.4% C 0.120 H 257.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F7FC5
RGBrgb(79, 127, 197)
HSLhsl(216, 50%, 54%)
HSVhsv(216, 60%, 77%)
CMYKcmyk(59.9%, 35.5%, 0%, 22.7%)
CIE-LABlab(52.81, 5.15, -41.36)
CIE-LCHlch(52.81, 41.68, 277.10°)
OKLaboklab(59.44% -0.0254 -0.1171)
OKLCHoklch(59.44% 0.12 257.8)
XYZxyz(20.8883, 20.8704, 55.7401)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FC5 #C5954F
analogous
#4FBAC5 #4F7FC5 #5A4FC5
triadic
#4F7FC5 #C54F7F #7FC54F
tetradic
#4F7FC5 #C54FBA #C5954F #4FC55A
square
#4F7FC5 #C54FBA #C5954F #4FC55A
split-complementary
#4F7FC5 #C55A4F #BAC54F
monochromatic
#264674 #3561A2 #4F7FC5 #7DA0D4 #ABC2E3

Accessibility & contrast

On white

4.06
#4F7FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F7FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FC5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FC5#FFFFFF#000000##000000
##4F7FC51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C8
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7fc5;
/* rgb */ color: rgb(79, 127, 197);
/* oklch */ color: oklch(59.4% 0.120 257.8);
Tailwind
colors: {
  custom: {
    50: '#8aa3d7',
    500: '#4f7fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fc5;
$custom-light: #8aa3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fc5",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 215.593,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.11982,
    "h": 257.8
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#4F7FC5
secondary
#D1BD9F
accent
#A14EDA
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4F7FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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