#2A577E#2A577E

#2A577E is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.4% C 0.081 H 247.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2A577E
RGBrgb(42, 87, 126)
HSLhsl(208, 50%, 33%)
HSVhsv(208, 67%, 49%)
CMYKcmyk(66.7%, 31%, 0%, 50.6%)
CIE-LABlab(35.62, -2.24, -26.56)
CIE-LCHlch(35.62, 26.65, 265.19°)
OKLaboklab(44.36% -0.0317 -0.075)
OKLCHoklch(44.36% 0.081 247)
XYZxyz(8.1275, 8.8142, 21.0076)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A577E #7E512A
analogous
#2A7E7B #2A577E #2A2D7E
triadic
#2A577E #7E2A57 #577E2A
tetradic
#2A577E #7B2A7E #7E512A #2D7E2A
square
#2A577E #7B2A7E #7E512A #2D7E2A
split-complementary
#2A577E #7E2A2D #7E7B2A
monochromatic
#0B1822 #1B3750 #2A577E #3977AC #5A95C8

Accessibility & contrast

On white

7.60
#2A577E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A577E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A577E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A577E#FFFFFF#000000##FFFFFF
##2A577E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#3A507D
Tritanopia (blue-blind)
#006065
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a577e;
/* rgb */ color: rgb(42, 87, 126);
/* oklch */ color: oklch(44.4% 0.081 247.0);
Tailwind
colors: {
  custom: {
    50: '#6d86a3',
    500: '#2a577e',
    950: '#000000',
  },
}
SCSS
$custom: #2a577e;
$custom-light: #6d86a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a577e",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 207.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.08141,
    "h": 247
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#2A577E
secondary
#AE7F56
accent
#8F4EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #2A577E

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

Preview Lab → · Contrast checker → · Palette generator →

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