#2F80AB#2F80AB

#2F80AB is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.0% C 0.102 H 235.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F80AB
RGBrgb(47, 128, 171)
HSLhsl(201, 57%, 43%)
HSVhsv(201, 73%, 67%)
CMYKcmyk(72.5%, 25.1%, 0%, 32.9%)
CIE-LABlab(50.67, -9.90, -29.87)
CIE-LCHlch(50.67, 31.47, 251.66°)
OKLaboklab(57.02% -0.0569 -0.0841)
OKLCHoklch(57.02% 0.102 235.9)
XYZxyz(16.2392, 18.9811, 41.3280)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80AB #AB5A2F
analogous
#2FAB98 #2F80AB #2F42AB
triadic
#2F80AB #AB2F80 #80AB2F
tetradic
#2F80AB #982FAB #AB5A2F #42AB2F
square
#2F80AB #982FAB #AB5A2F #42AB2F
split-complementary
#2F80AB #AB2F42 #AB982F
monochromatic
#15384B #225C7B #2F80AB #4AA0CD #7AB9DA

Accessibility & contrast

On white

4.38
#2F80AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F80AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80AB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80AB#FFFFFF#000000##000000
##2F80AB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAD
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#008B8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f80ab;
/* rgb */ color: rgb(47, 128, 171);
/* oklch */ color: oklch(57.0% 0.102 235.9);
Tailwind
colors: {
  custom: {
    50: '#78a4c4',
    500: '#2f80ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f80ab;
$custom-light: #78a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80ab",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 171
  },
  "hsl": {
    "h": 200.806,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.10155,
    "h": 235.9
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

primary
#2F80AB
secondary
#C38F73
accent
#7D48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F80AB

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

Preview Lab → · Contrast checker → · Palette generator →

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