#2A537D#2A537D

#2A537D is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.084 H 250.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2A537D
RGBrgb(42, 83, 125)
HSLhsl(210, 50%, 33%)
HSVhsv(210, 66%, 49%)
CMYKcmyk(66.4%, 33.6%, 0%, 51%)
CIE-LABlab(34.31, -0.06, -28.01)
CIE-LCHlch(34.31, 28.01, 269.88°)
OKLaboklab(43.31% -0.0275 -0.0792)
OKLCHoklch(43.31% 0.084 250.8)
XYZxyz(7.7484, 8.1587, 20.5645)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A537D #7D542A
analogous
#2A7D7D #2A537D #2A2A7D
triadic
#2A537D #7D2A53 #537D2A
tetradic
#2A537D #7D2A7D #7D542A #2A7D2A
square
#2A537D #7D2A7D #7D542A #2A7D2A
split-complementary
#2A537D #7D2A2A #7D7D2A
monochromatic
#0B1621 #1B354F #2A537D #3971AB #5A90C8

Accessibility & contrast

On white

7.98
#2A537D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A537D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A537D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A537D#FFFFFF#000000##FFFFFF
##2A537D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#354D7C
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a537d;
/* rgb */ color: rgb(42, 83, 125);
/* oklch */ color: oklch(43.3% 0.084 250.8);
Tailwind
colors: {
  custom: {
    50: '#6d83a3',
    500: '#2a537d',
    950: '#000000',
  },
}
SCSS
$custom: #2a537d;
$custom-light: #6d83a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a537d",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 125
  },
  "hsl": {
    "h": 210.361,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.08385,
    "h": 250.8
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#2A537D
secondary
#AD8256
accent
#954FD9
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2A537D

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

Preview Lab → · Contrast checker → · Palette generator →

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