#4F7DCE#4F7DCE

#4F7DCE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.134 H 260.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4F7DCE
RGBrgb(79, 125, 206)
HSLhsl(218, 56%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(61.7%, 39.3%, 0%, 19.2%)
CIE-LABlab(52.71, 9.40, -46.63)
CIE-LCHlch(52.71, 47.57, 281.39°)
OKLaboklab(59.52% -0.0211 -0.1325)
OKLCHoklch(59.52% 0.134 260.9)
XYZxyz(21.6947, 20.7838, 61.2489)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DCE #CEA04F
analogous
#4FBCCE #4F7DCE #604FCE
triadic
#4F7DCE #CE4F7D #7DCE4F
tetradic
#4F7DCE #CE4FBC #CEA04F #4FCE60
square
#4F7DCE #CE4FBC #CEA04F #4FCE60
split-complementary
#4F7DCE #CE604F #BCCE4F
monochromatic
#23457F #315EAF #4F7DCE #7FA0DB #AFC4E9

Accessibility & contrast

On white

4.07
#4F7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4F7DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DCE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DCE#FFFFFF#000000##000000
##4F7DCE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D1
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7dce;
/* rgb */ color: rgb(79, 125, 206);
/* oklch */ color: oklch(59.5% 0.134 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ba2dd',
    500: '#4f7dce',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dce;
$custom-light: #8ba2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dce",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 218.268,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.13422,
    "h": 260.9
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#4F7DCE
secondary
#D7C4A2
accent
#A948E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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