#4F7FAC#4F7FAC

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

Color values

HEX#4F7FAC
RGBrgb(79, 127, 172)
HSLhsl(209, 37%, 49%)
HSVhsv(209, 54%, 67%)
CMYKcmyk(54.1%, 26.2%, 0%, 32.5%)
CIE-LABlab(51.63, -3.02, -28.85)
CIE-LCHlch(51.63, 29.01, 264.03°)
OKLaboklab(58.14% -0.0326 -0.0808)
OKLCHoklch(58.14% 0.087 248)
XYZxyz(18.2576, 19.8181, 41.8849)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FAC #AC7C4F
analogous
#4FACAB #4F7FAC #4F51AC
triadic
#4F7FAC #AC4F7F #7FAC4F
tetradic
#4F7FAC #AB4FAC #AC7C4F #51AC4F
square
#4F7FAC #AB4FAC #AC7C4F #51AC4F
split-complementary
#4F7FAC #AC4F51 #ACAB4F
monochromatic
#284158 #3C6082 #4F7FAC #779DC1 #A1BCD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7FAC#FFFFFF#000000##000000
##4F7FAC1.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)
#6C80AE
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#168A8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7fac;
/* rgb */ color: rgb(79, 127, 172);
/* oklch */ color: oklch(58.1% 0.087 248.0);
Tailwind
colors: {
  custom: {
    50: '#87a4c5',
    500: '#4f7fac',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fac;
$custom-light: #87a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fac",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 209.032,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.08715,
    "h": 248
  },
  "luminance": 0.1982
}

Semantic roles & 50–950 ramp

primary
#4F7FAC
secondary
#C1AB96
accent
#925BCD
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #4F7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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