#2F80B8#2F80B8

#2F80B8 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.7% C 0.116 H 243.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F80B8
RGBrgb(47, 128, 184)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 72%)
CMYKcmyk(74.5%, 30.4%, 0%, 27.8%)
CIE-LABlab(51.27, -5.29, -36.42)
CIE-LCHlch(51.27, 36.80, 261.74°)
OKLaboklab(57.7% -0.0526 -0.1031)
OKLCHoklch(57.7% 0.116 243)
XYZxyz(17.5398, 19.5013, 48.1778)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80B8 #B8672F
analogous
#2FB8AC #2F80B8 #2F3BB8
triadic
#2F80B8 #B82F80 #80B82F
tetradic
#2F80B8 #AC2FB8 #B8672F #3BB82F
square
#2F80B8 #AC2FB8 #B8672F #3BB82F
split-complementary
#2F80B8 #B82F3B #B8AC2F
monochromatic
#163C57 #235E87 #2F80B8 #529ED3 #82B9DF

Accessibility & contrast

On white

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

On black

4.90
#2F80B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80B8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80B8#FFFFFF#000000##000000
##2F80B81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6681BA
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#008E94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f80b8;
/* rgb */ color: rgb(47, 128, 184);
/* oklch */ color: oklch(57.7% 0.116 243.0);
Tailwind
colors: {
  custom: {
    50: '#7aa4cd',
    500: '#2f80b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f80b8;
$custom-light: #7aa4cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80b8",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 184
  },
  "hsl": {
    "h": 204.526,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.11577,
    "h": 243
  },
  "luminance": 0.19503
}

Semantic roles & 50–950 ramp

primary
#2F80B8
secondary
#C89A7B
accent
#8645E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #2F80B8

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

Preview Lab → · Contrast checker → · Palette generator →

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