#2A7795#2A7795

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

Color values

HEX#2A7795
RGBrgb(42, 119, 149)
HSLhsl(197, 56%, 37%)
HSVhsv(197, 72%, 58%)
CMYKcmyk(71.8%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.78, -13.17, -23.05)
CIE-LCHlch(46.78, 26.55, 240.26°)
OKLaboklab(53.57% -0.0584 -0.0646)
OKLCHoklch(53.57% 0.087 227.9)
XYZxyz(12.9743, 15.8544, 30.8044)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7795 #95482A
analogous
#2A957D #2A7795 #2A4295
triadic
#2A7795 #952A77 #77952A
tetradic
#2A7795 #7D2A95 #95482A #42952A
square
#2A7795 #7D2A95 #95482A #42952A
split-complementary
#2A7795 #952A42 #957D2A
monochromatic
#0F2B36 #1D5165 #2A7795 #379DC5 #66B5D4

Accessibility & contrast

On white

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

On black

4.17
#2A7795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7795#FFFFFF#000000##FFFFFF
##2A77951.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677596
Deuteranopia (green-blind)
#596A95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7795;
/* rgb */ color: rgb(42, 119, 149);
/* oklch */ color: oklch(53.6% 0.087 227.9);
Tailwind
colors: {
  custom: {
    50: '#729eb4',
    500: '#2a7795',
    950: '#000000',
  },
}
SCSS
$custom: #2a7795;
$custom-light: #729eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7795",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 196.822,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53569,
    "c": 0.0871,
    "h": 227.9
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#2A7795
secondary
#BA7A61
accent
#7348DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7795

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

Preview Lab → · Contrast checker → · Palette generator →

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