#2A577F#2A577F

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

Color values

HEX#2A577F
RGBrgb(42, 87, 127)
HSLhsl(208, 50%, 33%)
HSVhsv(208, 67%, 50%)
CMYKcmyk(66.9%, 31.5%, 0%, 50.2%)
CIE-LABlab(35.67, -1.87, -27.10)
CIE-LCHlch(35.67, 27.16, 266.05°)
OKLaboklab(44.42% -0.0314 -0.0765)
OKLCHoklch(44.42% 0.083 247.7)
XYZxyz(8.1924, 8.8401, 21.3491)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A577F #7F522A
analogous
#2A7F7C #2A577F #2A2C7F
triadic
#2A577F #7F2A57 #577F2A
tetradic
#2A577F #7C2A7F #7F522A #2C7F2A
square
#2A577F #7C2A7F #7F522A #2C7F2A
split-complementary
#2A577F #7F2A2C #7F7C2A
monochromatic
#0C1823 #1B3751 #2A577F #3977AD #5B95C9

Accessibility & contrast

On white

7.59
#2A577F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2A577F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A577F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A577F#FFFFFF#000000##FFFFFF
##2A577F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a577f;
/* rgb */ color: rgb(42, 87, 127);
/* oklch */ color: oklch(44.4% 0.083 247.7);
Tailwind
colors: {
  custom: {
    50: '#6d86a4',
    500: '#2a577f',
    950: '#000000',
  },
}
SCSS
$custom: #2a577f;
$custom-light: #6d86a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a577f",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 208.235,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44417,
    "c": 0.08272,
    "h": 247.7
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#2A577F
secondary
#AE8057
accent
#904EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A577F

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

Preview Lab → · Contrast checker → · Palette generator →

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