#4F7CCC#4F7CCC

#4F7CCC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.133 H 261.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4F7CCC
RGBrgb(79, 124, 204)
HSLhsl(218, 55%, 55%)
HSVhsv(218, 61%, 80%)
CMYKcmyk(61.3%, 39.2%, 0%, 20%)
CIE-LABlab(52.33, 9.33, -46.11)
CIE-LCHlch(52.33, 47.04, 281.44°)
OKLaboklab(59.19% -0.0205 -0.131)
OKLCHoklch(59.19% 0.133 261.1)
XYZxyz(21.3274, 20.4353, 59.9355)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CCC #CC9F4F
analogous
#4FBACC #4F7CCC #604FCC
triadic
#4F7CCC #CC4F7C #7CCC4F
tetradic
#4F7CCC #CC4FBA #CC9F4F #4FCC60
square
#4F7CCC #CC4FBA #CC9F4F #4FCC60
split-complementary
#4F7CCC #CC604F #BACC4F
monochromatic
#24447D #325EAC #4F7CCC #7E9FDA #AEC3E7

Accessibility & contrast

On white

4.13
#4F7CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4F7CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CCC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CCC#FFFFFF#000000##000000
##4F7CCC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CF
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7ccc;
/* rgb */ color: rgb(79, 124, 204);
/* oklch */ color: oklch(59.2% 0.133 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ba1dc',
    500: '#4f7ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ccc;
$custom-light: #8ba1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ccc",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 218.4,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59188,
    "c": 0.13263,
    "h": 261.1
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#4F7CCC
secondary
#D5C3A1
accent
#A949DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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