#2791A9#2791A9

#2791A9 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 60.9% C 0.098 H 216.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2791A9
RGBrgb(39, 145, 169)
HSLhsl(191, 63%, 41%)
HSVhsv(191, 77%, 66%)
CMYKcmyk(76.9%, 14.2%, 0%, 33.7%)
CIE-LABlab(55.63, -20.97, -21.06)
CIE-LCHlch(55.63, 29.73, 225.12°)
OKLaboklab(60.91% -0.0785 -0.0588)
OKLCHoklch(60.91% 0.098 216.8)
XYZxyz(18.1205, 23.5445, 41.1179)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791A9 #A93F27
analogous
#27A980 #2791A9 #2750A9
triadic
#2791A9 #A92791 #91A927
tetradic
#2791A9 #8027A9 #A93F27 #50A927
square
#2791A9 #8027A9 #A93F27 #50A927
split-complementary
#2791A9 #A92750 #A98027
monochromatic
#103C46 #1C6677 #2791A9 #3BB6D2 #6DC9DD

Accessibility & contrast

On white

3.68
#2791A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#2791A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2791A9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2791A9#FFFFFF#000000##000000
##2791A91.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAA
Deuteranopia (green-blind)
#7080A9
Tritanopia (blue-blind)
#009999
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2791a9;
/* rgb */ color: rgb(39, 145, 169);
/* oklch */ color: oklch(60.9% 0.098 216.8);
Tailwind
colors: {
  custom: {
    50: '#76b1c2',
    500: '#2791a9',
    950: '#000000',
  },
}
SCSS
$custom: #2791a9;
$custom-light: #76b1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2791a9",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 169
  },
  "hsl": {
    "h": 191.077,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6091,
    "c": 0.0981,
    "h": 216.8
  },
  "luminance": 0.23547
}

Semantic roles & 50–950 ramp

primary
#2791A9
secondary
#C47968
accent
#6042E6
background
#F7FAFB
surface
#EEF5F7
border
#C9CFD0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2791A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2791A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva