#2F80BC#2F80BC

#2F80BC is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 57.9% C 0.120 H 244.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2F80BC
RGBrgb(47, 128, 188)
HSLhsl(206, 60%, 46%)
HSVhsv(206, 75%, 74%)
CMYKcmyk(75%, 31.9%, 0%, 26.3%)
CIE-LABlab(51.46, -3.85, -38.41)
CIE-LCHlch(51.46, 38.60, 264.28°)
OKLaboklab(57.91% -0.0514 -0.1089)
OKLCHoklch(57.91% 0.12 244.7)
XYZxyz(17.9651, 19.6714, 50.4173)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80BC #BC6B2F
analogous
#2FBCB1 #2F80BC #2F39BC
triadic
#2F80BC #BC2F80 #80BC2F
tetradic
#2F80BC #B12FBC #BC6B2F #39BC2F
square
#2F80BC #B12FBC #BC6B2F #39BC2F
split-complementary
#2F80BC #BC2F39 #BCB12F
monochromatic
#173D5A #235F8B #2F80BC #549ED4 #85BAE0

Accessibility & contrast

On white

4.26
#2F80BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2F80BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80BC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80BC#FFFFFF#000000##000000
##2F80BC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#008F95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f80bc;
/* rgb */ color: rgb(47, 128, 188);
/* oklch */ color: oklch(57.9% 0.120 244.7);
Tailwind
colors: {
  custom: {
    50: '#7ba4d0',
    500: '#2f80bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f80bc;
$custom-light: #7ba4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80bc",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 188
  },
  "hsl": {
    "h": 205.532,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.12042,
    "h": 244.7
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#2F80BC
secondary
#CA9E7D
accent
#8845E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F80BC

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

Preview Lab → · Contrast checker → · Palette generator →

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