#2F80B3#2F80B3

#2F80B3 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.4% C 0.110 H 240.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2F80B3
RGBrgb(47, 128, 179)
HSLhsl(203, 58%, 44%)
HSVhsv(203, 74%, 70%)
CMYKcmyk(73.7%, 28.5%, 0%, 29.8%)
CIE-LABlab(51.03, -7.08, -33.92)
CIE-LCHlch(51.03, 34.65, 258.22°)
OKLaboklab(57.43% -0.0542 -0.0958)
OKLCHoklch(57.43% 0.11 240.5)
XYZxyz(17.0250, 19.2954, 45.4662)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80B3 #B3622F
analogous
#2FB3A4 #2F80B3 #2F3EB3
triadic
#2F80B3 #B32F80 #80B32F
tetradic
#2F80B3 #A42FB3 #B3622F #3EB32F
square
#2F80B3 #A42FB3 #B3622F #3EB32F
split-complementary
#2F80B3 #B32F3E #B3A42F
monochromatic
#163B52 #225D83 #2F80B3 #4F9ED1 #7FB9DD

Accessibility & contrast

On white

4.32
#2F80B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2F80B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80B3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80B3#FFFFFF#000000##000000
##2F80B31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f80b3;
/* rgb */ color: rgb(47, 128, 179);
/* oklch */ color: oklch(57.4% 0.110 240.5);
Tailwind
colors: {
  custom: {
    50: '#79a4ca',
    500: '#2f80b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f80b3;
$custom-light: #79a4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80b3",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 179
  },
  "hsl": {
    "h": 203.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.1101,
    "h": 240.5
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#2F80B3
secondary
#C69678
accent
#8246E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F80B3

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

Preview Lab → · Contrast checker → · Palette generator →

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