#4F7DC8#4F7DC8

#4F7DC8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.126 H 259.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4F7DC8
RGBrgb(79, 125, 200)
HSLhsl(217, 52%, 55%)
HSVhsv(217, 61%, 78%)
CMYKcmyk(60.5%, 37.5%, 0%, 21.6%)
CIE-LABlab(52.40, 7.37, -43.72)
CIE-LCHlch(52.40, 44.34, 279.56°)
OKLaboklab(59.17% -0.0225 -0.124)
OKLCHoklch(59.17% 0.126 259.7)
XYZxyz(20.9797, 20.4978, 57.4832)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DC8 #C89A4F
analogous
#4FBAC8 #4F7DC8 #5E4FC8
triadic
#4F7DC8 #C84F7D #7DC84F
tetradic
#4F7DC8 #C84FBA #C89A4F #4FC85E
square
#4F7DC8 #C84FBA #C89A4F #4FC85E
split-complementary
#4F7DC8 #C85E4F #BAC84F
monochromatic
#254477 #345FA6 #4F7DC8 #7E9FD7 #ACC2E5

Accessibility & contrast

On white

4.12
#4F7DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4F7DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DC8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DC8#FFFFFF#000000##000000
##4F7DC81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#4D78C6
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7dc8;
/* rgb */ color: rgb(79, 125, 200);
/* oklch */ color: oklch(59.2% 0.126 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa2d9',
    500: '#4f7dc8',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dc8;
$custom-light: #8aa2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dc8",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 217.19,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.12605,
    "h": 259.7
  },
  "luminance": 0.205
}

Semantic roles & 50–950 ramp

primary
#4F7DC8
secondary
#D3C0A0
accent
#A54CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #4F7DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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