#4F7DB2#4F7DB2

#4F7DB2 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.097 H 252.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F7DB2
RGBrgb(79, 125, 178)
HSLhsl(212, 39%, 50%)
HSVhsv(212, 56%, 70%)
CMYKcmyk(55.6%, 29.8%, 0%, 30.2%)
CIE-LABlab(51.32, 0.09, -32.81)
CIE-LCHlch(51.32, 32.81, 270.15°)
OKLaboklab(57.98% -0.0284 -0.0923)
OKLCHoklch(57.98% 0.097 252.9)
XYZxyz(18.5911, 19.5423, 44.9032)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DB2 #B2844F
analogous
#4FAEB2 #4F7DB2 #524FB2
triadic
#4F7DB2 #B24F7D #7DB24F
tetradic
#4F7DB2 #B24FAE #B2844F #4FB252
square
#4F7DB2 #B24FAE #B2844F #4FB252
split-complementary
#4F7DB2 #B2524F #AEB24F
monochromatic
#29415E #3C5F88 #4F7DB2 #7A9CC5 #A4BCD7

Accessibility & contrast

On white

4.28
#4F7DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4F7DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DB2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DB2#FFFFFF#000000##000000
##4F7DB21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B4
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#098990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f7db2;
/* rgb */ color: rgb(79, 125, 178);
/* oklch */ color: oklch(58.0% 0.097 252.9);
Tailwind
colors: {
  custom: {
    50: '#87a2c9',
    500: '#4f7db2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7db2;
$custom-light: #87a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7db2",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 212.121,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57977,
    "c": 0.09652,
    "h": 252.9
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#4F7DB2
secondary
#C4B098
accent
#9859CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #4F7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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