#2F80B7#2F80B7

#2F80B7 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.115 H 242.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F80B7
RGBrgb(47, 128, 183)
HSLhsl(204, 59%, 45%)
HSVhsv(204, 74%, 72%)
CMYKcmyk(74.3%, 30.1%, 0%, 28.2%)
CIE-LABlab(51.22, -5.65, -35.92)
CIE-LCHlch(51.22, 36.36, 261.07°)
OKLaboklab(57.64% -0.0529 -0.1017)
OKLCHoklch(57.64% 0.115 242.5)
XYZxyz(17.4354, 19.4596, 47.6277)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80B7 #B7662F
analogous
#2FB7AA #2F80B7 #2F3CB7
triadic
#2F80B7 #B72F80 #80B72F
tetradic
#2F80B7 #AA2FB7 #B7662F #3CB72F
square
#2F80B7 #AA2FB7 #B7662F #3CB72F
split-complementary
#2F80B7 #B72F3C #B7AA2F
monochromatic
#163C56 #225E86 #2F80B7 #519ED2 #82B9DF

Accessibility & contrast

On white

4.29
#2F80B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F80B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80B7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80B7#FFFFFF#000000##000000
##2F80B71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6781B9
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f80b7;
/* rgb */ color: rgb(47, 128, 183);
/* oklch */ color: oklch(57.6% 0.115 242.5);
Tailwind
colors: {
  custom: {
    50: '#7aa4cd',
    500: '#2f80b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f80b7;
$custom-light: #7aa4cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80b7",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 183
  },
  "hsl": {
    "h": 204.265,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.11461,
    "h": 242.5
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#2F80B7
secondary
#C8997A
accent
#8545E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F80B7

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

Preview Lab → · Contrast checker → · Palette generator →

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