#2F80A6#2F80A6

#2F80A6 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.8% C 0.097 H 232.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F80A6
RGBrgb(47, 128, 166)
HSLhsl(199, 56%, 42%)
HSVhsv(199, 72%, 65%)
CMYKcmyk(71.7%, 22.9%, 0%, 34.9%)
CIE-LABlab(50.45, -11.64, -27.31)
CIE-LCHlch(50.45, 29.69, 246.91°)
OKLaboklab(56.77% -0.0587 -0.0767)
OKLCHoklch(56.77% 0.097 232.6)
XYZxyz(15.7717, 18.7941, 38.8654)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80A6 #A6552F
analogous
#2FA691 #2F80A6 #2F44A6
triadic
#2F80A6 #A62F80 #80A62F
tetradic
#2F80A6 #912FA6 #A6552F #44A62F
square
#2F80A6 #912FA6 #A6552F #44A62F
split-complementary
#2F80A6 #A62F44 #A6912F
monochromatic
#143647 #215B76 #2F80A6 #47A1CB #77B9D8

Accessibility & contrast

On white

4.41
#2F80A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2F80A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80A6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80A6#FFFFFF#000000##000000
##2F80A61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7FA8
Deuteranopia (green-blind)
#5D73A5
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f80a6;
/* rgb */ color: rgb(47, 128, 166);
/* oklch */ color: oklch(56.8% 0.097 232.6);
Tailwind
colors: {
  custom: {
    50: '#77a4c0',
    500: '#2f80a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f80a6;
$custom-light: #77a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80a6",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 166
  },
  "hsl": {
    "h": 199.16,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.0966,
    "h": 232.6
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#2F80A6
secondary
#C18A70
accent
#7949DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F80A6

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

Preview Lab → · Contrast checker → · Palette generator →

#2F80A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva