#2F80BE#2F80BE

#2F80BE is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.0% C 0.123 H 245.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F80BE
RGBrgb(47, 128, 190)
HSLhsl(206, 60%, 46%)
HSVhsv(206, 75%, 75%)
CMYKcmyk(75.3%, 32.6%, 0%, 25.5%)
CIE-LABlab(51.56, -3.12, -39.40)
CIE-LCHlch(51.56, 39.53, 265.47°)
OKLaboklab(58.03% -0.0508 -0.1118)
OKLCHoklch(58.03% 0.123 245.6)
XYZxyz(18.1822, 19.7583, 51.5607)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80BE #BE6D2F
analogous
#2FBEB5 #2F80BE #2F39BE
triadic
#2F80BE #BE2F80 #80BE2F
tetradic
#2F80BE #B52FBE #BE6D2F #39BE2F
square
#2F80BE #B52FBE #BE6D2F #39BE2F
split-complementary
#2F80BE #BE2F39 #BEB52F
monochromatic
#173E5C #235F8D #2F80BE #559ED5 #86BAE1

Accessibility & contrast

On white

4.24
#2F80BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F80BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80BE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80BE#FFFFFF#000000##000000
##2F80BE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C1
Deuteranopia (green-blind)
#4F75BD
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f80be;
/* rgb */ color: rgb(47, 128, 190);
/* oklch */ color: oklch(58.0% 0.123 245.6);
Tailwind
colors: {
  custom: {
    50: '#7ba4d2',
    500: '#2f80be',
    950: '#000000',
  },
}
SCSS
$custom: #2f80be;
$custom-light: #7ba4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80be",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 190
  },
  "hsl": {
    "h": 206.014,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58025,
    "c": 0.1228,
    "h": 245.6
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#2F80BE
secondary
#CB9F7E
accent
#8944E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F80BE

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

Preview Lab → · Contrast checker → · Palette generator →

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