#4F7FC7#4F7FC7

#4F7FC7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.123 H 258.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4F7FC7
RGBrgb(79, 127, 199)
HSLhsl(216, 52%, 55%)
HSVhsv(216, 60%, 78%)
CMYKcmyk(60.3%, 36.2%, 0%, 22%)
CIE-LABlab(52.91, 5.82, -42.34)
CIE-LCHlch(52.91, 42.74, 277.83°)
OKLaboklab(59.56% -0.0249 -0.12)
OKLCHoklch(59.56% 0.123 258.3)
XYZxyz(21.1190, 20.9627, 56.9550)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FC7 #C7974F
analogous
#4FBBC7 #4F7FC7 #5B4FC7
triadic
#4F7FC7 #C74F7F #7FC74F
tetradic
#4F7FC7 #C74FBB #C7974F #4FC75B
square
#4F7FC7 #C74FBB #C7974F #4FC75B
split-complementary
#4F7FC7 #C75B4F #BBC74F
monochromatic
#264676 #3461A4 #4F7FC7 #7DA1D6 #ACC3E5

Accessibility & contrast

On white

4.04
#4F7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4F7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FC7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FC7#FFFFFF#000000##000000
##4F7FC71.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6184CA
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7fc7;
/* rgb */ color: rgb(79, 127, 199);
/* oklch */ color: oklch(59.6% 0.123 258.3);
Tailwind
colors: {
  custom: {
    50: '#8aa3d8',
    500: '#4f7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fc7;
$custom-light: #8aa3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fc7",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 216,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59556,
    "c": 0.12252,
    "h": 258.3
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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