#4F7DCC#4F7DCC

#4F7DCC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.132 H 260.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4F7DCC
RGBrgb(79, 125, 204)
HSLhsl(218, 55%, 55%)
HSVhsv(218, 61%, 80%)
CMYKcmyk(61.3%, 38.7%, 0%, 20%)
CIE-LABlab(52.61, 8.72, -45.66)
CIE-LCHlch(52.61, 46.49, 280.81°)
OKLaboklab(59.4% -0.0216 -0.1297)
OKLCHoklch(59.4% 0.132 260.6)
XYZxyz(21.4533, 20.6872, 59.9775)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DCC #CC9E4F
analogous
#4FBBCC #4F7DCC #5F4FCC
triadic
#4F7DCC #CC4F7D #7DCC4F
tetradic
#4F7DCC #CC4FBB #CC9E4F #4FCC5F
square
#4F7DCC #CC4FBB #CC9E4F #4FCC5F
split-complementary
#4F7DCC #CC5F4F #BBCC4F
monochromatic
#24457D #325FAC #4F7DCC #7EA0DA #AEC3E7

Accessibility & contrast

On white

4.09
#4F7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4F7DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DCC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DCC#FFFFFF#000000##000000
##4F7DCC1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7dcc;
/* rgb */ color: rgb(79, 125, 204);
/* oklch */ color: oklch(59.4% 0.132 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ba2dc',
    500: '#4f7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dcc;
$custom-light: #8ba2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dcc",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 217.92,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.1315,
    "h": 260.6
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#4F7DCC
secondary
#D5C2A1
accent
#A849DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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