#2F80B6#2F80B6

#2F80B6 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.6% C 0.113 H 242.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F80B6
RGBrgb(47, 128, 182)
HSLhsl(204, 59%, 45%)
HSVhsv(204, 74%, 71%)
CMYKcmyk(74.2%, 29.7%, 0%, 28.6%)
CIE-LABlab(51.17, -6.00, -35.42)
CIE-LCHlch(51.17, 35.93, 260.38°)
OKLaboklab(57.59% -0.0532 -0.1002)
OKLCHoklch(57.59% 0.113 242)
XYZxyz(17.3317, 19.4181, 47.0815)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80B6 #B6652F
analogous
#2FB6A9 #2F80B6 #2F3DB6
triadic
#2F80B6 #B62F80 #80B62F
tetradic
#2F80B6 #A92FB6 #B6652F #3DB62F
square
#2F80B6 #A92FB6 #B6652F #3DB62F
split-complementary
#2F80B6 #B62F3D #B6A92F
monochromatic
#163C55 #225E85 #2F80B6 #509ED2 #81B9DE

Accessibility & contrast

On white

4.30
#2F80B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2F80B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80B6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80B6#FFFFFF#000000##000000
##2F80B61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6781B8
Deuteranopia (green-blind)
#5474B5
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f80b6;
/* rgb */ color: rgb(47, 128, 182);
/* oklch */ color: oklch(57.6% 0.113 242.0);
Tailwind
colors: {
  custom: {
    50: '#7aa4cc',
    500: '#2f80b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f80b6;
$custom-light: #7aa4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80b6",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 182
  },
  "hsl": {
    "h": 204,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.11347,
    "h": 242
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#2F80B6
secondary
#C79979
accent
#8446E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F80B6

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

Preview Lab → · Contrast checker → · Palette generator →

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