#2A577B#2A577B

#2A577B is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.078 H 245.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2A577B
RGBrgb(42, 87, 123)
HSLhsl(207, 49%, 32%)
HSVhsv(207, 66%, 48%)
CMYKcmyk(65.9%, 29.3%, 0%, 51.8%)
CIE-LABlab(35.47, -3.33, -24.95)
CIE-LCHlch(35.47, 25.17, 262.40°)
OKLaboklab(44.19% -0.0327 -0.0703)
OKLCHoklch(44.19% 0.078 245)
XYZxyz(7.9369, 8.7379, 20.0034)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A577B #7B4E2A
analogous
#2A7B77 #2A577B #2A2E7B
triadic
#2A577B #7B2A57 #577B2A
tetradic
#2A577B #772A7B #7B4E2A #2E7B2A
square
#2A577B #772A7B #7B4E2A #2E7B2A
split-complementary
#2A577B #7B2A2E #7B772A
monochromatic
#0B1620 #1A374D #2A577B #3A77A9 #5996C6

Accessibility & contrast

On white

7.64
#2A577B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A577B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A577B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A577B#FFFFFF#000000##FFFFFF
##2A577B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#3C507A
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a577b;
/* rgb */ color: rgb(42, 87, 123);
/* oklch */ color: oklch(44.2% 0.078 245.0);
Tailwind
colors: {
  custom: {
    50: '#6c86a1',
    500: '#2a577b',
    950: '#000000',
  },
}
SCSS
$custom: #2a577b;
$custom-light: #6c86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a577b",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 206.667,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.07754,
    "h": 245
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#2A577B
secondary
#AC7C55
accent
#8C4FD9
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #2A577B

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

Preview Lab → · Contrast checker → · Palette generator →

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