#2F80A4#2F80A4

#2F80A4 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.095 H 231.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F80A4
RGBrgb(47, 128, 164)
HSLhsl(198, 55%, 41%)
HSVhsv(198, 71%, 64%)
CMYKcmyk(71.3%, 22%, 0%, 35.7%)
CIE-LABlab(50.36, -12.34, -26.28)
CIE-LCHlch(50.36, 29.03, 244.86°)
OKLaboklab(56.68% -0.0594 -0.0738)
OKLCHoklch(56.68% 0.095 231.1)
XYZxyz(15.5896, 18.7213, 37.9067)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80A4 #A4532F
analogous
#2FA48E #2F80A4 #2F46A4
triadic
#2F80A4 #A42F80 #80A42F
tetradic
#2F80A4 #8E2FA4 #A4532F #46A42F
square
#2F80A4 #8E2FA4 #A4532F #46A42F
split-complementary
#2F80A4 #A42F46 #A48E2F
monochromatic
#143645 #215B74 #2F80A4 #46A1CA #76BAD8

Accessibility & contrast

On white

4.43
#2F80A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2F80A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80A4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80A4#FFFFFF#000000##000000
##2F80A41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA6
Deuteranopia (green-blind)
#5E73A3
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f80a4;
/* rgb */ color: rgb(47, 128, 164);
/* oklch */ color: oklch(56.7% 0.095 231.1);
Tailwind
colors: {
  custom: {
    50: '#77a4bf',
    500: '#2f80a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f80a4;
$custom-light: #77a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80a4",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 164
  },
  "hsl": {
    "h": 198.462,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.09473,
    "h": 231.1
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#2F80A4
secondary
#C0886F
accent
#7749DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F80A4

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

Preview Lab → · Contrast checker → · Palette generator →

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