#2A7796#2A7796

#2A7796 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.088 H 228.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2A7796
RGBrgb(42, 119, 150)
HSLhsl(197, 56%, 38%)
HSVhsv(197, 72%, 59%)
CMYKcmyk(72%, 20.7%, 0%, 41.2%)
CIE-LABlab(46.83, -12.82, -23.57)
CIE-LCHlch(46.83, 26.83, 241.45°)
OKLaboklab(53.62% -0.058 -0.0661)
OKLCHoklch(53.62% 0.088 228.7)
XYZxyz(13.0545, 15.8864, 31.2266)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7796 #96492A
analogous
#2A967F #2A7796 #2A4196
triadic
#2A7796 #962A77 #77962A
tetradic
#2A7796 #7F2A96 #96492A #41962A
square
#2A7796 #7F2A96 #96492A #41962A
split-complementary
#2A7796 #962A41 #967F2A
monochromatic
#0F2B36 #1D5166 #2A7796 #379DC6 #66B5D4

Accessibility & contrast

On white

5.03
#2A7796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2A7796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7796
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7796#FFFFFF#000000##FFFFFF
##2A77961.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677598
Deuteranopia (green-blind)
#586A96
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7796;
/* rgb */ color: rgb(42, 119, 150);
/* oklch */ color: oklch(53.6% 0.088 228.7);
Tailwind
colors: {
  custom: {
    50: '#729eb5',
    500: '#2a7796',
    950: '#000000',
  },
}
SCSS
$custom: #2a7796;
$custom-light: #729eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7796",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 150
  },
  "hsl": {
    "h": 197.222,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.08796,
    "h": 228.7
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#2A7796
secondary
#BA7B61
accent
#7448E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7796

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

Preview Lab → · Contrast checker → · Palette generator →

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