#2F80B5#2F80B5

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

Color values

HEX#2F80B5
RGBrgb(47, 128, 181)
HSLhsl(204, 59%, 45%)
HSVhsv(204, 74%, 71%)
CMYKcmyk(74%, 29.3%, 0%, 29%)
CIE-LABlab(51.13, -6.36, -34.92)
CIE-LCHlch(51.13, 35.50, 259.67°)
OKLaboklab(57.54% -0.0536 -0.0987)
OKLCHoklch(57.54% 0.112 241.5)
XYZxyz(17.2287, 19.3769, 46.5392)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80B5 #B5642F
analogous
#2FB5A7 #2F80B5 #2F3DB5
triadic
#2F80B5 #B52F80 #80B52F
tetradic
#2F80B5 #A72FB5 #B5642F #3DB52F
square
#2F80B5 #A72FB5 #B5642F #3DB52F
split-complementary
#2F80B5 #B52F3D #B5A72F
monochromatic
#163B54 #225E84 #2F80B5 #509ED1 #80B9DE

Accessibility & contrast

On white

4.31
#2F80B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F80B5#FFFFFF#000000##000000
##2F80B51.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6781B7
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f80b5;
/* rgb */ color: rgb(47, 128, 181);
/* oklch */ color: oklch(57.5% 0.112 241.5);
Tailwind
colors: {
  custom: {
    50: '#7aa4cb',
    500: '#2f80b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f80b5;
$custom-light: #7aa4cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80b5",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 181
  },
  "hsl": {
    "h": 203.731,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.11234,
    "h": 241.5
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F80B5

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

Preview Lab → · Contrast checker → · Palette generator →

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