#2A577C#2A577C

#2A577C is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.2% C 0.079 H 245.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2A577C
RGBrgb(42, 87, 124)
HSLhsl(207, 49%, 33%)
HSVhsv(207, 66%, 49%)
CMYKcmyk(66.1%, 29.8%, 0%, 51.4%)
CIE-LABlab(35.52, -2.97, -25.49)
CIE-LCHlch(35.52, 25.66, 263.36°)
OKLaboklab(44.25% -0.0324 -0.0718)
OKLCHoklch(44.25% 0.079 245.7)
XYZxyz(7.9998, 8.7631, 20.3347)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A577C #7C4F2A
analogous
#2A7C78 #2A577C #2A2E7C
triadic
#2A577C #7C2A57 #577C2A
tetradic
#2A577C #782A7C #7C4F2A #2E7C2A
square
#2A577C #782A7C #7C4F2A #2E7C2A
split-complementary
#2A577C #7C2A2E #7C782A
monochromatic
#0B1721 #1B374E #2A577C #3977AA #5996C7

Accessibility & contrast

On white

7.63
#2A577C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A577C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A577C#FFFFFF#000000##FFFFFF
##2A577C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587E
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a577c;
/* rgb */ color: rgb(42, 87, 124);
/* oklch */ color: oklch(44.2% 0.079 245.7);
Tailwind
colors: {
  custom: {
    50: '#6c86a2',
    500: '#2a577c',
    950: '#000000',
  },
}
SCSS
$custom: #2a577c;
$custom-light: #6c86a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a577c",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 124
  },
  "hsl": {
    "h": 207.073,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.07881,
    "h": 245.7
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#2A577C
secondary
#AD7D55
accent
#8D4FD9
background
#F6F8FA
surface
#ECEFF3
border
#C7CACD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #2A577C

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

Preview Lab → · Contrast checker → · Palette generator →

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