#4F7DD9#4F7DD9

#4F7DD9 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.149 H 262.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F7DD9
RGBrgb(79, 125, 217)
HSLhsl(220, 64%, 58%)
HSVhsv(220, 64%, 85%)
CMYKcmyk(63.6%, 42.4%, 0%, 14.9%)
CIE-LABlab(53.32, 13.15, -51.89)
CIE-LCHlch(53.32, 53.53, 284.22°)
OKLaboklab(60.19% -0.0189 -0.148)
OKLCHoklch(60.19% 0.149 262.7)
XYZxyz(23.0781, 21.3371, 68.5345)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DD9 #D9AB4F
analogous
#4FC2D9 #4F7DD9 #664FD9
triadic
#4F7DD9 #D94F7D #7DD94F
tetradic
#4F7DD9 #D94FC2 #D9AB4F #4FD966
square
#4F7DD9 #D94FC2 #D9AB4F #4FD966
split-complementary
#4F7DD9 #D9664F #C2D94F
monochromatic
#1F448F #2A5CC1 #4F7DD9 #81A2E4 #B4C7EF

Accessibility & contrast

On white

3.99
#4F7DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4F7DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DD9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DD9#FFFFFF#000000##000000
##4F7DD91.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DD
Deuteranopia (green-blind)
#3D79D7
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7dd9;
/* rgb */ color: rgb(79, 125, 217);
/* oklch */ color: oklch(60.2% 0.149 262.7);
Tailwind
colors: {
  custom: {
    50: '#8da2e5',
    500: '#4f7dd9',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dd9;
$custom-light: #8da2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dd9",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 217
  },
  "hsl": {
    "h": 220,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.14917,
    "h": 262.7
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#4F7DD9
secondary
#DDCBA6
accent
#B040E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4F7DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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