#2791A5#2791A5

#2791A5 is a mid, moderate teal. Relative luminance 0.234; OKLCH L 60.7% C 0.096 H 213.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2791A5
RGBrgb(39, 145, 165)
HSLhsl(190, 62%, 40%)
HSVhsv(190, 76%, 65%)
CMYKcmyk(76.4%, 12.1%, 0%, 35.3%)
CIE-LABlab(55.48, -22.30, -19.00)
CIE-LCHlch(55.48, 29.30, 220.44°)
OKLaboklab(60.74% -0.0802 -0.053)
OKLCHoklch(60.74% 0.096 213.5)
XYZxyz(17.7507, 23.3966, 39.1705)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791A5 #A53B27
analogous
#27A57A #2791A5 #2752A5
triadic
#2791A5 #A52791 #91A527
tetradic
#2791A5 #7A27A5 #A53B27 #52A527
square
#2791A5 #7A27A5 #A53B27 #52A527
split-complementary
#2791A5 #A52752 #A57A27
monochromatic
#103A42 #1B6574 #2791A5 #39B8D0 #6ACADC

Accessibility & contrast

On white

3.70
#2791A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2791A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2791A5#FFFFFF#000000##000000
##2791A51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#828CA6
Deuteranopia (green-blind)
#717FA5
Tritanopia (blue-blind)
#009997
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2791a5;
/* rgb */ color: rgb(39, 145, 165);
/* oklch */ color: oklch(60.7% 0.096 213.5);
Tailwind
colors: {
  custom: {
    50: '#76b1bf',
    500: '#2791a5',
    950: '#000000',
  },
}
SCSS
$custom: #2791a5;
$custom-light: #76b1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2791a5",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 165
  },
  "hsl": {
    "h": 189.524,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.09609,
    "h": 213.5
  },
  "luminance": 0.23399
}

Semantic roles & 50–950 ramp

primary
#2791A5
secondary
#C27466
accent
#5D43E5
background
#F7FAFB
surface
#EEF5F7
border
#C9CFD0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2791A5

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

Preview Lab → · Contrast checker → · Palette generator →

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