#4F7FC6#4F7FC6

#4F7FC6 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.121 H 258.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F7FC6
RGBrgb(79, 127, 198)
HSLhsl(216, 51%, 54%)
HSVhsv(216, 60%, 78%)
CMYKcmyk(60.1%, 35.9%, 0%, 22.4%)
CIE-LABlab(52.86, 5.49, -41.85)
CIE-LCHlch(52.86, 42.21, 277.47°)
OKLaboklab(59.5% -0.0251 -0.1185)
OKLCHoklch(59.5% 0.121 258)
XYZxyz(21.0033, 20.9164, 56.3456)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FC6 #C6964F
analogous
#4FBBC6 #4F7FC6 #5B4FC6
triadic
#4F7FC6 #C64F7F #7FC64F
tetradic
#4F7FC6 #C64FBB #C6964F #4FC65B
square
#4F7FC6 #C64FBB #C6964F #4FC65B
split-complementary
#4F7FC6 #C65B4F #BBC64F
monochromatic
#264675 #3561A3 #4F7FC6 #7DA1D5 #ABC2E4

Accessibility & contrast

On white

4.05
#4F7FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4F7FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FC6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FC6#FFFFFF#000000##000000
##4F7FC61.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6184C9
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7fc6;
/* rgb */ color: rgb(79, 127, 198);
/* oklch */ color: oklch(59.5% 0.121 258.0);
Tailwind
colors: {
  custom: {
    50: '#8aa3d7',
    500: '#4f7fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fc6;
$custom-light: #8aa3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fc6",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 215.798,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.595,
    "c": 0.12117,
    "h": 258
  },
  "luminance": 0.20918
}

Semantic roles & 50–950 ramp

primary
#4F7FC6
secondary
#D2BD9F
accent
#A24DDB
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4F7FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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