#4F7EB4#4F7EB4

#4F7EB4 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.098 H 252.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F7EB4
RGBrgb(79, 126, 180)
HSLhsl(212, 40%, 51%)
HSVhsv(212, 56%, 71%)
CMYKcmyk(56.1%, 30%, 0%, 29.4%)
CIE-LABlab(51.70, 0.14, -33.36)
CIE-LCHlch(51.70, 33.36, 270.24°)
OKLaboklab(58.31% -0.0289 -0.0939)
OKLCHoklch(58.31% 0.098 252.9)
XYZxyz(18.9206, 19.8777, 46.0109)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EB4 #B4854F
analogous
#4FB0B4 #4F7EB4 #524FB4
triadic
#4F7EB4 #B44F7E #7EB44F
tetradic
#4F7EB4 #B44FB0 #B4854F #4FB452
square
#4F7EB4 #B44FB0 #B4854F #4FB452
split-complementary
#4F7EB4 #B4524F #B0B44F
monochromatic
#294260 #3B608B #4F7EB4 #7A9DC6 #A5BDD9

Accessibility & contrast

On white

4.22
#4F7EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4F7EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EB4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EB4#FFFFFF#000000##000000
##4F7EB41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6881B6
Deuteranopia (green-blind)
#5B77B3
Tritanopia (blue-blind)
#028A91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7eb4;
/* rgb */ color: rgb(79, 126, 180);
/* oklch */ color: oklch(58.3% 0.098 252.9);
Tailwind
colors: {
  custom: {
    50: '#88a3ca',
    500: '#4f7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7eb4;
$custom-light: #88a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7eb4",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 212.079,
    "s": 40.239,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.09822,
    "h": 252.9
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#4F7EB4
secondary
#C6B199
accent
#9858D0
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4F7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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