#4F7EB5#4F7EB5

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

Color values

HEX#4F7EB5
RGBrgb(79, 126, 181)
HSLhsl(212, 41%, 51%)
HSVhsv(212, 56%, 71%)
CMYKcmyk(56.4%, 30.4%, 0%, 29%)
CIE-LABlab(51.75, 0.47, -33.86)
CIE-LCHlch(51.75, 33.87, 270.79°)
OKLaboklab(58.36% -0.0286 -0.0953)
OKLCHoklch(58.36% 0.1 253.3)
XYZxyz(19.0228, 19.9186, 46.5493)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EB5 #B5864F
analogous
#4FB1B5 #4F7EB5 #534FB5
triadic
#4F7EB5 #B54F7E #7EB54F
tetradic
#4F7EB5 #B54FB1 #B5864F #4FB553
square
#4F7EB5 #B54FB1 #B5864F #4FB553
split-complementary
#4F7EB5 #B5534F #B1B54F
monochromatic
#294361 #3B608C #4F7EB5 #7A9EC7 #A5BDD9

Accessibility & contrast

On white

4.21
#4F7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7EB5#FFFFFF#000000##000000
##4F7EB51.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6781B7
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7eb5;
/* rgb */ color: rgb(79, 126, 181);
/* oklch */ color: oklch(58.4% 0.100 253.3);
Tailwind
colors: {
  custom: {
    50: '#88a3cb',
    500: '#4f7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7eb5;
$custom-light: #88a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7eb5",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 212.353,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.09952,
    "h": 253.3
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

primary
#4F7EB5
secondary
#C6B299
accent
#9957D1
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4F7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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