#4F7DCF#4F7DCF

#4F7DCF is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.6% C 0.136 H 261.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F7DCF
RGBrgb(79, 125, 207)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(61.8%, 39.6%, 0%, 18.8%)
CIE-LABlab(52.77, 9.74, -47.11)
CIE-LCHlch(52.77, 48.11, 281.68°)
OKLaboklab(59.58% -0.0209 -0.134)
OKLCHoklch(59.58% 0.136 261.1)
XYZxyz(21.8166, 20.8325, 61.8908)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DCF #CFA14F
analogous
#4FBDCF #4F7DCF #614FCF
triadic
#4F7DCF #CF4F7D #7DCF4F
tetradic
#4F7DCF #CF4FBD #CFA14F #4FCF61
square
#4F7DCF #CF4FBD #CFA14F #4FCF61
split-complementary
#4F7DCF #CF614F #BDCF4F
monochromatic
#234581 #305EB1 #4F7DCF #7FA1DC #AFC4E9

Accessibility & contrast

On white

4.06
#4F7DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F7DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DCF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DCF#FFFFFF#000000##000000
##4F7DCF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4778CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7dcf;
/* rgb */ color: rgb(79, 125, 207);
/* oklch */ color: oklch(59.6% 0.136 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ba2de',
    500: '#4f7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dcf;
$custom-light: #8ba2de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dcf",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 218.438,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.13558,
    "h": 261.1
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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