#4F7DC5#4F7DC5

#4F7DC5 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.0% C 0.122 H 259.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4F7DC5
RGBrgb(79, 125, 197)
HSLhsl(217, 50%, 54%)
HSVhsv(217, 60%, 77%)
CMYKcmyk(59.9%, 36.5%, 0%, 22.7%)
CIE-LABlab(52.24, 6.36, -42.25)
CIE-LCHlch(52.24, 42.73, 278.56°)
OKLaboklab(59% -0.0232 -0.1197)
OKLCHoklch(59% 0.122 259)
XYZxyz(20.6326, 20.3589, 55.6549)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DC5 #C5974F
analogous
#4FB8C5 #4F7DC5 #5C4FC5
triadic
#4F7DC5 #C54F7D #7DC54F
tetradic
#4F7DC5 #C54FB8 #C5974F #4FC55C
square
#4F7DC5 #C54FB8 #C5974F #4FC55C
split-complementary
#4F7DC5 #C55C4F #B8C54F
monochromatic
#264474 #355FA2 #4F7DC5 #7D9FD4 #ABC1E3

Accessibility & contrast

On white

4.14
#4F7DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4F7DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DC5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DC5#FFFFFF#000000##000000
##4F7DC51.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#4F78C3
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7dc5;
/* rgb */ color: rgb(79, 125, 197);
/* oklch */ color: oklch(59.0% 0.122 259.0);
Tailwind
colors: {
  custom: {
    50: '#8aa2d7',
    500: '#4f7dc5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dc5;
$custom-light: #8aa2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dc5",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 216.61,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.12197,
    "h": 259
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#4F7DC5
secondary
#D1BD9F
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #4F7DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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