#2B81B4#2B81B4

#2B81B4 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.112 H 239.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2B81B4
RGBrgb(43, 129, 180)
HSLhsl(202, 61%, 44%)
HSVhsv(202, 76%, 71%)
CMYKcmyk(76.1%, 28.3%, 0%, 29.4%)
CIE-LABlab(51.28, -7.82, -34.12)
CIE-LCHlch(51.28, 35.00, 257.09°)
OKLaboklab(57.61% -0.0569 -0.0964)
OKLCHoklch(57.61% 0.112 239.4)
XYZxyz(17.0815, 19.5074, 46.0362)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B81B4 #B45E2B
analogous
#2BB4A2 #2B81B4 #2B3CB4
triadic
#2B81B4 #B42B81 #81B42B
tetradic
#2B81B4 #A22BB4 #B45E2B #3CB42B
square
#2B81B4 #A22BB4 #B45E2B #3CB42B
split-complementary
#2B81B4 #B42B3C #B4A22B
monochromatic
#133A51 #1F5E83 #2B81B4 #49A0D3 #7ABADF

Accessibility & contrast

On white

4.28
#2B81B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2B81B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B81B4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B81B4#FFFFFF#000000##000000
##2B81B41.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B6
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b81b4;
/* rgb */ color: rgb(43, 129, 180);
/* oklch */ color: oklch(57.6% 0.112 239.4);
Tailwind
colors: {
  custom: {
    50: '#78a5ca',
    500: '#2b81b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b81b4;
$custom-light: #78a5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b81b4",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 180
  },
  "hsl": {
    "h": 202.336,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.11199,
    "h": 239.4
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#2B81B4
secondary
#C79373
accent
#7F43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B81B4

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

Preview Lab → · Contrast checker → · Palette generator →

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