#2F80B2#2F80B2

#2F80B2 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.4% C 0.109 H 240.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F80B2
RGBrgb(47, 128, 178)
HSLhsl(203, 58%, 44%)
HSVhsv(203, 74%, 70%)
CMYKcmyk(73.6%, 28.1%, 0%, 30.2%)
CIE-LABlab(50.98, -7.43, -33.41)
CIE-LCHlch(50.98, 34.23, 257.46°)
OKLaboklab(57.38% -0.0545 -0.0944)
OKLCHoklch(57.38% 0.109 240)
XYZxyz(16.9242, 19.2551, 44.9355)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80B2 #B2612F
analogous
#2FB2A3 #2F80B2 #2F3FB2
triadic
#2F80B2 #B22F80 #80B22F
tetradic
#2F80B2 #A32FB2 #B2612F #3FB22F
square
#2F80B2 #A32FB2 #B2612F #3FB22F
split-complementary
#2F80B2 #B22F3F #B2A32F
monochromatic
#153A51 #225D82 #2F80B2 #4E9FD0 #7EB9DD

Accessibility & contrast

On white

4.33
#2F80B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2F80B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80B2#FFFFFF#000000##000000
##2F80B21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B4
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#008D91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f80b2;
/* rgb */ color: rgb(47, 128, 178);
/* oklch */ color: oklch(57.4% 0.109 240.0);
Tailwind
colors: {
  custom: {
    50: '#79a4c9',
    500: '#2f80b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f80b2;
$custom-light: #79a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80b2",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 178
  },
  "hsl": {
    "h": 202.901,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.10899,
    "h": 240
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#2F80B2
secondary
#C69577
accent
#8246E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F80B2

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

Preview Lab → · Contrast checker → · Palette generator →

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