#4F7FD1#4F7FD1

#4F7FD1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.136 H 260.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4F7FD1
RGBrgb(79, 127, 209)
HSLhsl(218, 59%, 56%)
HSVhsv(218, 62%, 82%)
CMYKcmyk(62.2%, 39.2%, 0%, 18%)
CIE-LABlab(53.43, 9.20, -47.19)
CIE-LCHlch(53.43, 48.08, 281.03°)
OKLaboklab(60.13% -0.0225 -0.1342)
OKLCHoklch(60.13% 0.136 260.5)
XYZxyz(22.3184, 21.4424, 63.2719)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FD1 #D1A14F
analogous
#4FC0D1 #4F7FD1 #604FD1
triadic
#4F7FD1 #D14F7F #7FD14F
tetradic
#4F7FD1 #D14FC0 #D1A14F #4FD160
square
#4F7FD1 #D14FC0 #D1A14F #4FD160
split-complementary
#4F7FD1 #D1604F #C0D14F
monochromatic
#224683 #2F60B4 #4F7FD1 #80A2DE #B0C6EA

Accessibility & contrast

On white

3.97
#4F7FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4F7FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FD1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FD1#FFFFFF#000000##000000
##4F7FD11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B86D4
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7fd1;
/* rgb */ color: rgb(79, 127, 209);
/* oklch */ color: oklch(60.1% 0.136 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ca3df',
    500: '#4f7fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fd1;
$custom-light: #8ca3df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fd1",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 209
  },
  "hsl": {
    "h": 217.846,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.13604,
    "h": 260.5
  },
  "luminance": 0.21444
}

Semantic roles & 50–950 ramp

primary
#4F7FD1
secondary
#D9C5A3
accent
#A846E2
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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