#4F7EB2#4F7EB2

#4F7EB2 is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 58.2% C 0.096 H 252.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4F7EB2
RGBrgb(79, 126, 178)
HSLhsl(212, 39%, 50%)
HSVhsv(212, 56%, 70%)
CMYKcmyk(55.6%, 29.2%, 0%, 30.2%)
CIE-LABlab(51.61, -0.51, -32.35)
CIE-LCHlch(51.61, 32.36, 269.10°)
OKLaboklab(58.21% -0.0295 -0.0909)
OKLCHoklch(58.21% 0.096 252)
XYZxyz(18.7183, 19.7968, 44.9456)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EB2 #B2834F
analogous
#4FAFB2 #4F7EB2 #514FB2
triadic
#4F7EB2 #B24F7E #7EB24F
tetradic
#4F7EB2 #B24FAF #B2834F #4FB251
square
#4F7EB2 #B24FAF #B2834F #4FB251
split-complementary
#4F7EB2 #B2514F #AFB24F
monochromatic
#29425E #3C6088 #4F7EB2 #7A9DC5 #A4BCD7

Accessibility & contrast

On white

4.23
#4F7EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4F7EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EB2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EB2#FFFFFF#000000##000000
##4F7EB21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B4
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#088A90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7eb2;
/* rgb */ color: rgb(79, 126, 178);
/* oklch */ color: oklch(58.2% 0.096 252.0);
Tailwind
colors: {
  custom: {
    50: '#87a3c9',
    500: '#4f7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7eb2;
$custom-light: #87a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7eb2",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 211.515,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.0956,
    "h": 252
  },
  "luminance": 0.19798
}

Semantic roles & 50–950 ramp

primary
#4F7EB2
secondary
#C4B098
accent
#9759CF
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4F7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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