#2A577D#2A577D

#2A577D is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.080 H 246.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2A577D
RGBrgb(42, 87, 125)
HSLhsl(207, 50%, 33%)
HSVhsv(207, 66%, 49%)
CMYKcmyk(66.4%, 30.4%, 0%, 51%)
CIE-LABlab(35.57, -2.60, -26.02)
CIE-LCHlch(35.57, 26.15, 264.29°)
OKLaboklab(44.31% -0.0321 -0.0734)
OKLCHoklch(44.31% 0.08 246.4)
XYZxyz(8.0633, 8.7885, 20.6695)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A577D #7D502A
analogous
#2A7D7A #2A577D #2A2D7D
triadic
#2A577D #7D2A57 #577D2A
tetradic
#2A577D #7A2A7D #7D502A #2D7D2A
square
#2A577D #7A2A7D #7D502A #2D7D2A
split-complementary
#2A577D #7D2A2D #7D7A2A
monochromatic
#0B1721 #1B374F #2A577D #3977AB #5A95C8

Accessibility & contrast

On white

7.61
#2A577D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A577D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A577D#FFFFFF#000000##FFFFFF
##2A577D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a577d;
/* rgb */ color: rgb(42, 87, 125);
/* oklch */ color: oklch(44.3% 0.080 246.4);
Tailwind
colors: {
  custom: {
    50: '#6d86a3',
    500: '#2a577d',
    950: '#000000',
  },
}
SCSS
$custom: #2a577d;
$custom-light: #6d86a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a577d",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 207.47,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44305,
    "c": 0.0801,
    "h": 246.4
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#2A577D
secondary
#AD7E56
accent
#8E4FD9
background
#F6F8FA
surface
#ECEFF3
border
#C7CACD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #2A577D

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

Preview Lab → · Contrast checker → · Palette generator →

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