#4F7AAA#4F7AAA

#4F7AAA is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.9% C 0.089 H 252.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F7AAA
RGBrgb(79, 122, 170)
HSLhsl(212, 37%, 49%)
HSVhsv(212, 54%, 67%)
CMYKcmyk(53.5%, 28.2%, 0%, 33.3%)
CIE-LABlab(50.08, -0.70, -30.11)
CIE-LCHlch(50.08, 30.12, 268.66°)
OKLaboklab(56.88% -0.0273 -0.0845)
OKLCHoklch(56.88% 0.089 252.1)
XYZxyz(17.4371, 18.4822, 40.6710)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AAA #AA7F4F
analogous
#4FA8AA #4F7AAA #524FAA
triadic
#4F7AAA #AA4F7A #7AAA4F
tetradic
#4F7AAA #AA4FA8 #AA7F4F #4FAA52
square
#4F7AAA #AA4FA8 #AA7F4F #4FAA52
split-complementary
#4F7AAA #AA524F #A8AA4F
monochromatic
#283E56 #3C5C80 #4F7AAA #7799C0 #A0B8D3

Accessibility & contrast

On white

4.47
#4F7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4F7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AAA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AAA#FFFFFF#000000##000000
##4F7AAA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAC
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#1C858B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f7aaa;
/* rgb */ color: rgb(79, 122, 170);
/* oklch */ color: oklch(56.9% 0.089 252.1);
Tailwind
colors: {
  custom: {
    50: '#86a0c3',
    500: '#4f7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4f7aaa;
$custom-light: #86a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7aaa",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 211.648,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56884,
    "c": 0.08877,
    "h": 252.1
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#4F7AAA
secondary
#C0AC95
accent
#975BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #4F7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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