#2F80A8#2F80A8

#2F80A8 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 56.9% C 0.099 H 234.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F80A8
RGBrgb(47, 128, 168)
HSLhsl(200, 56%, 42%)
HSVhsv(200, 72%, 66%)
CMYKcmyk(72%, 23.8%, 0%, 34.1%)
CIE-LABlab(50.53, -10.95, -28.34)
CIE-LCHlch(50.53, 30.38, 248.87°)
OKLaboklab(56.87% -0.058 -0.0797)
OKLCHoklch(56.87% 0.099 234)
XYZxyz(15.9565, 18.8680, 39.8391)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80A8 #A8572F
analogous
#2FA894 #2F80A8 #2F43A8
triadic
#2F80A8 #A82F80 #80A82F
tetradic
#2F80A8 #942FA8 #A8572F #43A82F
square
#2F80A8 #942FA8 #A8572F #43A82F
split-complementary
#2F80A8 #A82F43 #A8942F
monochromatic
#143748 #225C78 #2F80A8 #48A0CC #78B9D9

Accessibility & contrast

On white

4.40
#2F80A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F80A8#FFFFFF#000000##000000
##2F80A81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7FAA
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#008B8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f80a8;
/* rgb */ color: rgb(47, 128, 168);
/* oklch */ color: oklch(56.9% 0.099 234.0);
Tailwind
colors: {
  custom: {
    50: '#77a4c2',
    500: '#2f80a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f80a8;
$custom-light: #77a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80a8",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 168
  },
  "hsl": {
    "h": 199.835,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.09854,
    "h": 234
  },
  "luminance": 0.1887
}

Semantic roles & 50–950 ramp

primary
#2F80A8
secondary
#C18C71
accent
#7A48E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F80A8

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

Preview Lab → · Contrast checker → · Palette generator →

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