#2A5472#2A5472

#2A5472 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.069 H 241.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2A5472
RGBrgb(42, 84, 114)
HSLhsl(205, 46%, 31%)
HSVhsv(205, 63%, 45%)
CMYKcmyk(63.2%, 26.3%, 0%, 55.3%)
CIE-LABlab(34.08, -4.68, -21.54)
CIE-LCHlch(34.08, 22.05, 257.73°)
OKLaboklab(42.95% -0.0324 -0.0605)
OKLCHoklch(42.95% 0.069 241.8)
XYZxyz(7.1613, 8.0471, 17.0922)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5472 #72482A
analogous
#2A726C #2A5472 #2A3072
triadic
#2A5472 #722A54 #54722A
tetradic
#2A5472 #6C2A72 #72482A #30722A
square
#2A5472 #6C2A72 #72482A #30722A
split-complementary
#2A5472 #722A30 #726C2A
monochromatic
#091219 #1A3345 #2A5472 #3A759F #5694C1

Accessibility & contrast

On white

8.05
#2A5472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A5472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5472
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5472#FFFFFF#000000##FFFFFF
##2A54721.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#005B5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5472;
/* rgb */ color: rgb(42, 84, 114);
/* oklch */ color: oklch(43.0% 0.069 241.8);
Tailwind
colors: {
  custom: {
    50: '#6b849a',
    500: '#2a5472',
    950: '#000000',
  },
}
SCSS
$custom: #2a5472;
$custom-light: #6b849a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5472",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 114
  },
  "hsl": {
    "h": 205,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.06859,
    "h": 241.8
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#2A5472
secondary
#A47554
accent
#8952D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5472

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

Preview Lab → · Contrast checker → · Palette generator →

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