#2B77A8#2B77A8

#2B77A8 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.6% C 0.106 H 241.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2B77A8
RGBrgb(43, 119, 168)
HSLhsl(204, 59%, 41%)
HSVhsv(204, 74%, 66%)
CMYKcmyk(74.4%, 29.2%, 0%, 34.1%)
CIE-LABlab(47.67, -6.29, -32.82)
CIE-LCHlch(47.67, 33.42, 259.15°)
OKLaboklab(54.56% -0.0511 -0.0928)
OKLCHoklch(54.56% 0.106 241.2)
XYZxyz(14.6582, 16.5327, 39.4568)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B77A8 #A85C2B
analogous
#2BA89B #2B77A8 #2B39A8
triadic
#2B77A8 #A82B77 #77A82B
tetradic
#2B77A8 #9B2BA8 #A85C2B #39A82B
square
#2B77A8 #9B2BA8 #A85C2B #39A82B
split-complementary
#2B77A8 #A82B39 #A89B2B
monochromatic
#123247 #1F5477 #2B77A8 #4297CF #72B2DB

Accessibility & contrast

On white

4.88
#2B77A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2B77A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B77A8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B77A8#FFFFFF#000000##FFFFFF
##2B77A81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6078AA
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b77a8;
/* rgb */ color: rgb(43, 119, 168);
/* oklch */ color: oklch(54.6% 0.106 241.2);
Tailwind
colors: {
  custom: {
    50: '#769ec2',
    500: '#2b77a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b77a8;
$custom-light: #769ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b77a8",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 168
  },
  "hsl": {
    "h": 203.52,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54561,
    "c": 0.10593,
    "h": 241.2
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#2B77A8
secondary
#C28E6C
accent
#8345E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B77A8

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

Preview Lab → · Contrast checker → · Palette generator →

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