#2A537A#2A537A

#2A537A is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.1% C 0.080 H 249.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2A537A
RGBrgb(42, 83, 122)
HSLhsl(209, 49%, 32%)
HSVhsv(209, 66%, 48%)
CMYKcmyk(65.6%, 32%, 0%, 52.2%)
CIE-LABlab(34.16, -1.16, -26.39)
CIE-LCHlch(34.16, 26.42, 267.48°)
OKLaboklab(43.14% -0.0285 -0.0745)
OKLCHoklch(43.14% 0.08 249.1)
XYZxyz(7.5597, 8.0832, 19.5704)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A537A #7A512A
analogous
#2A7A79 #2A537A #2A2B7A
triadic
#2A537A #7A2A53 #537A2A
tetradic
#2A537A #792A7A #7A512A #2B7A2A
square
#2A537A #792A7A #7A512A #2B7A2A
split-complementary
#2A537A #7A2A2B #7A792A
monochromatic
#0B151F #1A344C #2A537A #3A72A8 #5991C6

Accessibility & contrast

On white

8.03
#2A537A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A537A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A537A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A537A#FFFFFF#000000##FFFFFF
##2A537A1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557C
Deuteranopia (green-blind)
#374D79
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a537a;
/* rgb */ color: rgb(42, 83, 122);
/* oklch */ color: oklch(43.1% 0.080 249.1);
Tailwind
colors: {
  custom: {
    50: '#6c83a0',
    500: '#2a537a',
    950: '#000000',
  },
}
SCSS
$custom: #2a537a;
$custom-light: #6c83a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a537a",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 122
  },
  "hsl": {
    "h": 209.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.07977,
    "h": 249.1
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#2A537A
secondary
#AB7F55
accent
#924FD8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2A537A

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

Preview Lab → · Contrast checker → · Palette generator →

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