#4F7CD9#4F7CD9

#4F7CD9 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.150 H 263.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F7CD9
RGBrgb(79, 124, 217)
HSLhsl(220, 64%, 58%)
HSVhsv(220, 64%, 85%)
CMYKcmyk(63.6%, 42.9%, 0%, 14.9%)
CIE-LABlab(53.04, 13.76, -52.33)
CIE-LCHlch(53.04, 54.11, 284.74°)
OKLaboklab(59.98% -0.0179 -0.1493)
OKLCHoklch(59.98% 0.15 263.2)
XYZxyz(22.9521, 21.0852, 68.4925)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CD9 #D9AC4F
analogous
#4FC1D9 #4F7CD9 #674FD9
triadic
#4F7CD9 #D94F7C #7CD94F
tetradic
#4F7CD9 #D94FC1 #D9AC4F #4FD967
square
#4F7CD9 #D94FC1 #D9AC4F #4FD967
split-complementary
#4F7CD9 #D9674F #C1D94F
monochromatic
#1F438F #2A5BC1 #4F7CD9 #81A1E4 #B4C7EF

Accessibility & contrast

On white

4.02
#4F7CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4F7CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CD9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CD9#FFFFFF#000000##000000
##4F7CD91.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DD
Deuteranopia (green-blind)
#3B79D7
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7cd9;
/* rgb */ color: rgb(79, 124, 217);
/* oklch */ color: oklch(60.0% 0.150 263.2);
Tailwind
colors: {
  custom: {
    50: '#8da1e5',
    500: '#4f7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cd9;
$custom-light: #8da1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cd9",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 220.435,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.15034,
    "h": 263.2
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#4F7CD9
secondary
#DDCBA6
accent
#B140E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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