#2A537B#2A537B

#2A537B is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.081 H 249.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2A537B
RGBrgb(42, 83, 123)
HSLhsl(210, 49%, 32%)
HSVhsv(210, 66%, 48%)
CMYKcmyk(65.9%, 32.5%, 0%, 51.8%)
CIE-LABlab(34.21, -0.79, -26.93)
CIE-LCHlch(34.21, 26.94, 268.31°)
OKLaboklab(43.2% -0.0281 -0.0761)
OKLCHoklch(43.2% 0.081 249.7)
XYZxyz(7.6219, 8.1081, 19.8984)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A537B #7B522A
analogous
#2A7B7B #2A537B #2A2A7B
triadic
#2A537B #7B2A53 #537B2A
tetradic
#2A537B #7B2A7B #7B522A #2A7B2A
square
#2A537B #7B2A7B #7B522A #2A7B2A
split-complementary
#2A537B #7B2A2A #7B7B2A
monochromatic
#0B1520 #1A344D #2A537B #3A72A9 #5990C6

Accessibility & contrast

On white

8.01
#2A537B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A537B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A537B#FFFFFF#000000##FFFFFF
##2A537B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a537b;
/* rgb */ color: rgb(42, 83, 123);
/* oklch */ color: oklch(43.2% 0.081 249.7);
Tailwind
colors: {
  custom: {
    50: '#6c83a1',
    500: '#2a537b',
    950: '#000000',
  },
}
SCSS
$custom: #2a537b;
$custom-light: #6c83a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a537b",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 123
  },
  "hsl": {
    "h": 209.63,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43196,
    "c": 0.08112,
    "h": 249.7
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#2A537B
secondary
#AC8055
accent
#934FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2A537B

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

Preview Lab → · Contrast checker → · Palette generator →

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