#2F80B4#2F80B4

#2F80B4 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.5% C 0.111 H 241.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F80B4
RGBrgb(47, 128, 180)
HSLhsl(203, 59%, 45%)
HSVhsv(203, 74%, 71%)
CMYKcmyk(73.9%, 28.9%, 0%, 29.4%)
CIE-LABlab(51.08, -6.72, -34.42)
CIE-LCHlch(51.08, 35.07, 258.95°)
OKLaboklab(57.48% -0.0539 -0.0973)
OKLCHoklch(57.48% 0.111 241)
XYZxyz(17.1265, 19.3360, 46.0008)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80B4 #B4632F
analogous
#2FB4A6 #2F80B4 #2F3DB4
triadic
#2F80B4 #B42F80 #80B42F
tetradic
#2F80B4 #A62FB4 #B4632F #3DB42F
square
#2F80B4 #A62FB4 #B4632F #3DB42F
split-complementary
#2F80B4 #B42F3D #B4A62F
monochromatic
#163B53 #225D83 #2F80B4 #4F9ED1 #80B9DE

Accessibility & contrast

On white

4.31
#2F80B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2F80B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80B4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80B4#FFFFFF#000000##000000
##2F80B41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6881B6
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f80b4;
/* rgb */ color: rgb(47, 128, 180);
/* oklch */ color: oklch(57.5% 0.111 241.0);
Tailwind
colors: {
  custom: {
    50: '#79a4ca',
    500: '#2f80b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f80b4;
$custom-light: #79a4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80b4",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 180
  },
  "hsl": {
    "h": 203.459,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.11122,
    "h": 241
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#2F80B4
secondary
#C79778
accent
#8346E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F80B4

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

Preview Lab → · Contrast checker → · Palette generator →

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