#2791A7#2791A7

#2791A7 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 60.8% C 0.097 H 215.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2791A7
RGBrgb(39, 145, 167)
HSLhsl(190, 62%, 40%)
HSVhsv(190, 77%, 65%)
CMYKcmyk(76.6%, 13.2%, 0%, 34.5%)
CIE-LABlab(55.55, -21.64, -20.04)
CIE-LCHlch(55.55, 29.49, 222.80°)
OKLaboklab(60.82% -0.0793 -0.0559)
OKLCHoklch(60.82% 0.097 215.2)
XYZxyz(17.9342, 23.4700, 40.1367)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791A7 #A73D27
analogous
#27A77D #2791A7 #2751A7
triadic
#2791A7 #A72791 #91A727
tetradic
#2791A7 #7D27A7 #A73D27 #51A727
square
#2791A7 #7D27A7 #A73D27 #51A727
split-complementary
#2791A7 #A72751 #A77D27
monochromatic
#103B44 #1B6675 #2791A7 #3AB7D1 #6CC9DD

Accessibility & contrast

On white

3.69
#2791A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#2791A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2791A7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2791A7#FFFFFF#000000##000000
##2791A71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#828CA8
Deuteranopia (green-blind)
#7080A7
Tritanopia (blue-blind)
#009998
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2791a7;
/* rgb */ color: rgb(39, 145, 167);
/* oklch */ color: oklch(60.8% 0.097 215.2);
Tailwind
colors: {
  custom: {
    50: '#76b1c1',
    500: '#2791a7',
    950: '#000000',
  },
}
SCSS
$custom: #2791a7;
$custom-light: #76b1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2791a7",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 167
  },
  "hsl": {
    "h": 190.313,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.09705,
    "h": 215.2
  },
  "luminance": 0.23472
}

Semantic roles & 50–950 ramp

primary
#2791A7
secondary
#C37767
accent
#5F43E5
background
#F7FAFB
surface
#EEF5F7
border
#C9CFD0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2791A7

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

Preview Lab → · Contrast checker → · Palette generator →

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