#2A7696#2A7696

#2A7696 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.4% C 0.088 H 229.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2A7696
RGBrgb(42, 118, 150)
HSLhsl(198, 56%, 38%)
HSVhsv(198, 72%, 59%)
CMYKcmyk(72%, 21.3%, 0%, 41.2%)
CIE-LABlab(46.51, -12.25, -24.06)
CIE-LCHlch(46.51, 27.00, 243.01°)
OKLaboklab(53.37% -0.057 -0.0675)
OKLCHoklch(53.37% 0.088 229.8)
XYZxyz(12.9361, 15.6497, 31.1872)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7696 #964A2A
analogous
#2A9680 #2A7696 #2A4096
triadic
#2A7696 #962A76 #76962A
tetradic
#2A7696 #802A96 #964A2A #40962A
square
#2A7696 #802A96 #964A2A #40962A
split-complementary
#2A7696 #962A40 #96802A
monochromatic
#0F2B36 #1D5066 #2A7696 #379CC6 #66B4D4

Accessibility & contrast

On white

5.08
#2A7696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A7696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7696
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7696#FFFFFF#000000##FFFFFF
##2A76961.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667498
Deuteranopia (green-blind)
#576A96
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7696;
/* rgb */ color: rgb(42, 118, 150);
/* oklch */ color: oklch(53.4% 0.088 229.8);
Tailwind
colors: {
  custom: {
    50: '#729db5',
    500: '#2a7696',
    950: '#000000',
  },
}
SCSS
$custom: #2a7696;
$custom-light: #729db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7696",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 150
  },
  "hsl": {
    "h": 197.778,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.08833,
    "h": 229.8
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#2A7696
secondary
#BA7C61
accent
#7548E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7696

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

Preview Lab → · Contrast checker → · Palette generator →

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