#4F7BD7#4F7BD7

#4F7BD7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.149 H 263.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F7BD7
RGBrgb(79, 123, 215)
HSLhsl(221, 63%, 58%)
HSVhsv(221, 63%, 84%)
CMYKcmyk(63.3%, 42.8%, 0%, 15.7%)
CIE-LABlab(52.66, 13.69, -51.82)
CIE-LCHlch(52.66, 53.59, 284.80°)
OKLaboklab(59.64% -0.0173 -0.1478)
OKLCHoklch(59.64% 0.149 263.3)
XYZxyz(22.5689, 20.7324, 67.0892)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BD7 #D7AB4F
analogous
#4FBFD7 #4F7BD7 #674FD7
triadic
#4F7BD7 #D74F7B #7BD74F
tetradic
#4F7BD7 #D74FBF #D7AB4F #4FD767
square
#4F7BD7 #D74FBF #D7AB4F #4FD767
split-complementary
#4F7BD7 #D7674F #BFD74F
monochromatic
#20438C #2B5BBE #4F7BD7 #81A0E2 #B3C6EE

Accessibility & contrast

On white

4.08
#4F7BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4F7BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BD7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BD7#FFFFFF#000000##000000
##4F7BD71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084DB
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7bd7;
/* rgb */ color: rgb(79, 123, 215);
/* oklch */ color: oklch(59.6% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#8da0e4',
    500: '#4f7bd7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bd7;
$custom-light: #8da0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bd7",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 220.588,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5964,
    "c": 0.14879,
    "h": 263.3
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#4F7BD7
secondary
#DCCBA6
accent
#B142E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4F7BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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