#4F7FCC#4F7FCC

#4F7FCC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.129 H 259.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4F7FCC
RGBrgb(79, 127, 204)
HSLhsl(217, 55%, 55%)
HSVhsv(217, 61%, 80%)
CMYKcmyk(61.3%, 37.7%, 0%, 20%)
CIE-LABlab(53.17, 7.51, -44.77)
CIE-LCHlch(53.17, 45.40, 279.52°)
OKLaboklab(59.84% -0.0237 -0.1271)
OKLCHoklch(59.84% 0.129 259.5)
XYZxyz(21.7091, 21.1987, 60.0627)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FCC #CC9C4F
analogous
#4FBDCC #4F7FCC #5D4FCC
triadic
#4F7FCC #CC4F7F #7FCC4F
tetradic
#4F7FCC #CC4FBD #CC9C4F #4FCC5D
square
#4F7FCC #CC4FBD #CC9C4F #4FCC5D
split-complementary
#4F7FCC #CC5D4F #BDCC4F
monochromatic
#24467D #3261AC #4F7FCC #7EA2DA #AEC4E7

Accessibility & contrast

On white

4.01
#4F7FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4F7FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FCC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FCC#FFFFFF#000000##000000
##4F7FCC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7fcc;
/* rgb */ color: rgb(79, 127, 204);
/* oklch */ color: oklch(59.8% 0.129 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ba3dc',
    500: '#4f7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fcc;
$custom-light: #8ba3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fcc",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 216.96,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.12927,
    "h": 259.5
  },
  "luminance": 0.21201
}

Semantic roles & 50–950 ramp

primary
#4F7FCC
secondary
#D5C1A1
accent
#A549DE
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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