#2A537E#2A537E

#2A537E is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.085 H 251.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2A537E
RGBrgb(42, 83, 126)
HSLhsl(211, 50%, 33%)
HSVhsv(211, 67%, 49%)
CMYKcmyk(66.7%, 34.1%, 0%, 50.6%)
CIE-LABlab(34.36, 0.31, -28.54)
CIE-LCHlch(34.36, 28.54, 270.63°)
OKLaboklab(43.37% -0.0272 -0.0808)
OKLCHoklch(43.37% 0.085 251.4)
XYZxyz(7.8126, 8.1843, 20.9026)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A537E #7E552A
analogous
#2A7D7E #2A537E #2B2A7E
triadic
#2A537E #7E2A53 #537E2A
tetradic
#2A537E #7E2A7D #7E552A #2A7E2B
square
#2A537E #7E2A7D #7E552A #2A7E2B
split-complementary
#2A537E #7E2B2A #7D7E2A
monochromatic
#0B1722 #1B3550 #2A537E #3971AC #5A90C8

Accessibility & contrast

On white

7.96
#2A537E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A537E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A537E#FFFFFF#000000##FFFFFF
##2A537E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a537e;
/* rgb */ color: rgb(42, 83, 126);
/* oklch */ color: oklch(43.4% 0.085 251.4);
Tailwind
colors: {
  custom: {
    50: '#6d83a3',
    500: '#2a537e',
    950: '#000000',
  },
}
SCSS
$custom: #2a537e;
$custom-light: #6d83a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a537e",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 126
  },
  "hsl": {
    "h": 210.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4337,
    "c": 0.08522,
    "h": 251.4
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#2A537E
secondary
#AE8356
accent
#964EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2A537E

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

Preview Lab → · Contrast checker → · Palette generator →

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