#2A5572#2A5572

#2A5572 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.2% C 0.068 H 240.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2A5572
RGBrgb(42, 85, 114)
HSLhsl(204, 46%, 31%)
HSVhsv(204, 63%, 45%)
CMYKcmyk(63.2%, 25.4%, 0%, 55.3%)
CIE-LABlab(34.40, -5.31, -21.04)
CIE-LCHlch(34.40, 21.70, 255.84°)
OKLaboklab(43.21% -0.0336 -0.059)
OKLCHoklch(43.21% 0.068 240.4)
XYZxyz(7.2395, 8.2035, 17.1182)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5572 #72472A
analogous
#2A726B #2A5572 #2A3172
triadic
#2A5572 #722A55 #55722A
tetradic
#2A5572 #6B2A72 #72472A #31722A
square
#2A5572 #6B2A72 #72472A #31722A
split-complementary
#2A5572 #722A31 #726B2A
monochromatic
#091219 #1A3445 #2A5572 #3A769F #5696C1

Accessibility & contrast

On white

7.95
#2A5572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A5572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5572
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5572#FFFFFF#000000##FFFFFF
##2A55721.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#3E4E71
Tritanopia (blue-blind)
#005C5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5572;
/* rgb */ color: rgb(42, 85, 114);
/* oklch */ color: oklch(43.2% 0.068 240.4);
Tailwind
colors: {
  custom: {
    50: '#6b849a',
    500: '#2a5572',
    950: '#000000',
  },
}
SCSS
$custom: #2a5572;
$custom-light: #6b849a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5572",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 114
  },
  "hsl": {
    "h": 204.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43205,
    "c": 0.0679,
    "h": 240.4
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#2A5572
secondary
#A47454
accent
#8752D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5572

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

Preview Lab → · Contrast checker → · Palette generator →

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