#4F7DD2#4F7DD2

#4F7DD2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.140 H 261.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F7DD2
RGBrgb(79, 125, 210)
HSLhsl(219, 59%, 57%)
HSVhsv(219, 62%, 82%)
CMYKcmyk(62.4%, 40.5%, 0%, 17.6%)
CIE-LABlab(52.93, 10.76, -48.55)
CIE-LCHlch(52.93, 49.73, 282.49°)
OKLaboklab(59.76% -0.0203 -0.1382)
OKLCHoklch(59.76% 0.14 261.7)
XYZxyz(22.1868, 20.9806, 63.8407)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DD2 #D2A44F
analogous
#4FBFD2 #4F7DD2 #634FD2
triadic
#4F7DD2 #D24F7D #7DD24F
tetradic
#4F7DD2 #D24FBF #D2A44F #4FD263
square
#4F7DD2 #D24FBF #D2A44F #4FD263
split-complementary
#4F7DD2 #D2634F #BFD24F
monochromatic
#224585 #2E5EB5 #4F7DD2 #80A1DE #B0C5EB

Accessibility & contrast

On white

4.04
#4F7DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4F7DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DD2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DD2#FFFFFF#000000##000000
##4F7DD21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D5
Deuteranopia (green-blind)
#4479D0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7dd2;
/* rgb */ color: rgb(79, 125, 210);
/* oklch */ color: oklch(59.8% 0.140 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ca2e0',
    500: '#4f7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dd2;
$custom-light: #8ca2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dd2",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 218.931,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.13966,
    "h": 261.7
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#4F7DD2
secondary
#D9C6A4
accent
#AB45E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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