#2A77B7#2A77B7

#2A77B7 is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.4% C 0.124 H 247.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2A77B7
RGBrgb(42, 119, 183)
HSLhsl(207, 63%, 44%)
HSVhsv(207, 77%, 72%)
CMYKcmyk(77%, 35%, 0%, 28.2%)
CIE-LABlab(48.39, -0.91, -40.39)
CIE-LCHlch(48.39, 40.41, 268.70°)
OKLaboklab(55.37% -0.0471 -0.1149)
OKLCHoklch(55.37% 0.124 247.7)
XYZxyz(16.0956, 17.1029, 47.2435)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A77B7 #B76A2A
analogous
#2AB7B1 #2A77B7 #2A31B7
triadic
#2A77B7 #B72A77 #77B72A
tetradic
#2A77B7 #B12AB7 #B76A2A #31B72A
square
#2A77B7 #B12AB7 #B76A2A #31B72A
split-complementary
#2A77B7 #B72A31 #B7B12A
monochromatic
#133653 #1F5785 #2A77B7 #4996D5 #7BB2E1

Accessibility & contrast

On white

4.75
#2A77B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2A77B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A77B7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A77B7#FFFFFF#000000##FFFFFF
##2A77B71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597ABA
Deuteranopia (green-blind)
#456DB6
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a77b7;
/* rgb */ color: rgb(42, 119, 183);
/* oklch */ color: oklch(55.4% 0.124 247.7);
Tailwind
colors: {
  custom: {
    50: '#789dcd',
    500: '#2a77b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a77b7;
$custom-light: #789dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a77b7",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 183
  },
  "hsl": {
    "h": 207.234,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.12416,
    "h": 247.7
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#2A77B7
secondary
#C99A74
accent
#8C42E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A77B7

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

Preview Lab → · Contrast checker → · Palette generator →

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