#2A597F#2A597F

#2A597F is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.081 H 245.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2A597F
RGBrgb(42, 89, 127)
HSLhsl(207, 50%, 33%)
HSVhsv(207, 67%, 50%)
CMYKcmyk(66.9%, 29.9%, 0%, 50.2%)
CIE-LABlab(36.31, -3.13, -26.11)
CIE-LCHlch(36.31, 26.29, 263.17°)
OKLaboklab(44.92% -0.0337 -0.0736)
OKLCHoklch(44.92% 0.081 245.4)
XYZxyz(8.3566, 9.1685, 21.4039)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A597F #7F502A
analogous
#2A7F7A #2A597F #2A2E7F
triadic
#2A597F #7F2A59 #597F2A
tetradic
#2A597F #7A2A7F #7F502A #2E7F2A
square
#2A597F #7A2A7F #7F502A #2E7F2A
split-complementary
#2A597F #7F2A2E #7F7A2A
monochromatic
#0C1923 #1B3951 #2A597F #3979AD #5B98C9

Accessibility & contrast

On white

7.41
#2A597F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2A597F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A597F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A597F#FFFFFF#000000##FFFFFF
##2A597F1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A81
Deuteranopia (green-blind)
#3D527E
Tritanopia (blue-blind)
#006266
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a597f;
/* rgb */ color: rgb(42, 89, 127);
/* oklch */ color: oklch(44.9% 0.081 245.4);
Tailwind
colors: {
  custom: {
    50: '#6d87a4',
    500: '#2a597f',
    950: '#000000',
  },
}
SCSS
$custom: #2a597f;
$custom-light: #6d87a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a597f",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 127
  },
  "hsl": {
    "h": 206.824,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44915,
    "c": 0.08096,
    "h": 245.4
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#2A597F
secondary
#AE7E57
accent
#8C4EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A597F

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

Preview Lab → · Contrast checker → · Palette generator →

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