#2F80A7#2F80A7

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

Color values

HEX#2F80A7
RGBrgb(47, 128, 167)
HSLhsl(200, 56%, 42%)
HSVhsv(200, 72%, 65%)
CMYKcmyk(71.9%, 23.4%, 0%, 34.5%)
CIE-LABlab(50.49, -11.30, -27.82)
CIE-LCHlch(50.49, 30.03, 247.90°)
OKLaboklab(56.82% -0.0583 -0.0782)
OKLCHoklch(56.82% 0.098 233.3)
XYZxyz(15.8637, 18.8309, 39.3504)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80A7 #A7562F
analogous
#2FA792 #2F80A7 #2F44A7
triadic
#2F80A7 #A72F80 #80A72F
tetradic
#2F80A7 #922FA7 #A7562F #44A72F
square
#2F80A7 #922FA7 #A7562F #44A72F
split-complementary
#2F80A7 #A72F44 #A7922F
monochromatic
#143747 #225B77 #2F80A7 #48A1CB #78B9D9

Accessibility & contrast

On white

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

On black

4.77
#2F80A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80A7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80A7#FFFFFF#000000##000000
##2F80A71.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f80a7;
/* rgb */ color: rgb(47, 128, 167);
/* oklch */ color: oklch(56.8% 0.098 233.3);
Tailwind
colors: {
  custom: {
    50: '#77a4c1',
    500: '#2f80a7',
    950: '#000000',
  },
}
SCSS
$custom: #2f80a7;
$custom-light: #77a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80a7",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 167
  },
  "hsl": {
    "h": 199.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.09757,
    "h": 233.3
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

primary
#2F80A7
secondary
#C18B71
accent
#7948DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F80A7

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

Preview Lab → · Contrast checker → · Palette generator →

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