#2A5D71#2A5D71

#2A5D71 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.2% C 0.063 H 226.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2A5D71
RGBrgb(42, 93, 113)
HSLhsl(197, 46%, 30%)
HSVhsv(197, 63%, 44%)
CMYKcmyk(62.8%, 17.7%, 0%, 55.7%)
CIE-LABlab(36.95, -10.51, -16.49)
CIE-LCHlch(36.95, 19.55, 237.48°)
OKLaboklab(45.22% -0.0436 -0.0459)
OKLCHoklch(45.22% 0.063 226.5)
XYZxyz(7.8487, 9.5124, 17.0420)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D71 #713E2A
analogous
#2A7161 #2A5D71 #2A3A71
triadic
#2A5D71 #712A5D #5D712A
tetradic
#2A5D71 #612A71 #713E2A #3A712A
square
#2A5D71 #612A71 #713E2A #3A712A
split-complementary
#2A5D71 #712A3A #71612A
monochromatic
#091418 #193844 #2A5D71 #3B829E #55A2C0

Accessibility & contrast

On white

7.23
#2A5D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2A5D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5D71
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D71#FFFFFF#000000##FFFFFF
##2A5D711.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#006363
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a5d71;
/* rgb */ color: rgb(42, 93, 113);
/* oklch */ color: oklch(45.2% 0.063 226.5);
Tailwind
colors: {
  custom: {
    50: '#6b8b99',
    500: '#2a5d71',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d71;
$custom-light: #6b8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d71",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 113
  },
  "hsl": {
    "h": 196.901,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.06336,
    "h": 226.5
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#2A5D71
secondary
#A36A54
accent
#7752D5
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2A5D71

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

Preview Lab → · Contrast checker → · Palette generator →

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