#2B77AB#2B77AB

#2B77AB is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.7% C 0.109 H 242.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2B77AB
RGBrgb(43, 119, 171)
HSLhsl(204, 60%, 42%)
HSVhsv(204, 75%, 67%)
CMYKcmyk(74.9%, 30.4%, 0%, 32.9%)
CIE-LABlab(47.81, -5.20, -34.34)
CIE-LCHlch(47.81, 34.73, 261.39°)
OKLaboklab(54.72% -0.0501 -0.0972)
OKLCHoklch(54.72% 0.109 242.7)
XYZxyz(14.9409, 16.6458, 40.9457)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B77AB #AB5F2B
analogous
#2BAB9F #2B77AB #2B37AB
triadic
#2B77AB #AB2B77 #77AB2B
tetradic
#2B77AB #9F2BAB #AB5F2B #37AB2B
square
#2B77AB #9F2BAB #AB5F2B #37AB2B
split-complementary
#2B77AB #AB2B37 #AB9F2B
monochromatic
#123349 #1F557A #2B77AB #4397D0 #74B2DC

Accessibility & contrast

On white

4.85
#2B77AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2B77AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B77AB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B77AB#FFFFFF#000000##FFFFFF
##2B77AB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AD
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b77ab;
/* rgb */ color: rgb(43, 119, 171);
/* oklch */ color: oklch(54.7% 0.109 242.7);
Tailwind
colors: {
  custom: {
    50: '#769ec4',
    500: '#2b77ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b77ab;
$custom-light: #769ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b77ab",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 171
  },
  "hsl": {
    "h": 204.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.10938,
    "h": 242.7
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#2B77AB
secondary
#C4916E
accent
#8545E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B77AB

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

Preview Lab → · Contrast checker → · Palette generator →

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