#2A708C#2A708C

#2A708C is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.4% C 0.082 H 228.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2A708C
RGBrgb(42, 112, 140)
HSLhsl(197, 54%, 36%)
HSVhsv(197, 70%, 55%)
CMYKcmyk(70%, 20%, 0%, 45.1%)
CIE-LABlab(44.19, -12.30, -21.71)
CIE-LCHlch(44.19, 24.95, 240.47°)
OKLaboklab(51.38% -0.0544 -0.0608)
OKLCHoklch(51.38% 0.082 228.1)
XYZxyz(11.4807, 13.9728, 26.8978)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A708C #8C462A
analogous
#2A8C77 #2A708C #2A3F8C
triadic
#2A708C #8C2A70 #708C2A
tetradic
#2A708C #772A8C #8C462A #3F8C2A
square
#2A708C #772A8C #8C462A #3F8C2A
split-complementary
#2A708C #8C2A3F #8C772A
monochromatic
#0E252E #1C4A5D #2A708C #3896BB #61B0D0

Accessibility & contrast

On white

5.53
#2A708C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2A708C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A708C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A708C#FFFFFF#000000##FFFFFF
##2A708C1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616E8D
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#007879
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a708c;
/* rgb */ color: rgb(42, 112, 140);
/* oklch */ color: oklch(51.4% 0.082 228.1);
Tailwind
colors: {
  custom: {
    50: '#7099ad',
    500: '#2a708c',
    950: '#000000',
  },
}
SCSS
$custom: #2a708c;
$custom-light: #7099ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a708c",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 140
  },
  "hsl": {
    "h": 197.143,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.0816,
    "h": 228.1
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#2A708C
secondary
#B5765C
accent
#744BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2A708C

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

Preview Lab → · Contrast checker → · Palette generator →

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