#2791AA#2791AA

#2791AA is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.0% C 0.099 H 217.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2791AA
RGBrgb(39, 145, 170)
HSLhsl(191, 63%, 41%)
HSVhsv(191, 77%, 67%)
CMYKcmyk(77.1%, 14.7%, 0%, 33.3%)
CIE-LABlab(55.67, -20.64, -21.58)
CIE-LCHlch(55.67, 29.86, 226.27°)
OKLaboklab(60.95% -0.0781 -0.0603)
OKLCHoklch(60.95% 0.099 217.7)
XYZxyz(18.2147, 23.5822, 41.6142)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791AA #AA4027
analogous
#27AA81 #2791AA #2750AA
triadic
#2791AA #AA2791 #91AA27
tetradic
#2791AA #8127AA #AA4027 #50AA27
square
#2791AA #8127AA #AA4027 #50AA27
split-complementary
#2791AA #AA2750 #AA8127
monochromatic
#103C46 #1C6778 #2791AA #3CB6D2 #6EC8DE

Accessibility & contrast

On white

3.67
#2791AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#2791AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2791AA#FFFFFF#000000##000000
##2791AA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAB
Deuteranopia (green-blind)
#6F80AA
Tritanopia (blue-blind)
#009A99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2791aa;
/* rgb */ color: rgb(39, 145, 170);
/* oklch */ color: oklch(61.0% 0.099 217.7);
Tailwind
colors: {
  custom: {
    50: '#76b1c3',
    500: '#2791aa',
    950: '#000000',
  },
}
SCSS
$custom: #2791aa;
$custom-light: #76b1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2791aa",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 170
  },
  "hsl": {
    "h": 191.45,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60953,
    "c": 0.09867,
    "h": 217.7
  },
  "luminance": 0.23584
}

Semantic roles & 50–950 ramp

primary
#2791AA
secondary
#C47A69
accent
#6142E6
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2791AA

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

Preview Lab → · Contrast checker → · Palette generator →

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