#2791A2#2791A2

#2791A2 is a mid, moderate teal. Relative luminance 0.233; OKLCH L 60.6% C 0.095 H 210.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2791A2
RGBrgb(39, 145, 162)
HSLhsl(188, 61%, 39%)
HSVhsv(188, 76%, 64%)
CMYKcmyk(75.9%, 10.5%, 0%, 36.5%)
CIE-LABlab(55.37, -23.28, -17.45)
CIE-LCHlch(55.37, 29.09, 216.86°)
OKLaboklab(60.61% -0.0814 -0.0486)
OKLCHoklch(60.61% 0.095 210.8)
XYZxyz(17.4809, 23.2887, 37.7493)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791A2 #A23827
analogous
#27A276 #2791A2 #2753A2
triadic
#2791A2 #A22791 #91A227
tetradic
#2791A2 #7627A2 #A23827 #53A227
square
#2791A2 #7627A2 #A23827 #53A227
split-complementary
#2791A2 #A22753 #A27627
monochromatic
#0F393F #1B6571 #2791A2 #37BACF #69CBDB

Accessibility & contrast

On white

3.71
#2791A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#2791A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2791A2#FFFFFF#000000##000000
##2791A21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA3
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#009896
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2791a2;
/* rgb */ color: rgb(39, 145, 162);
/* oklch */ color: oklch(60.6% 0.095 210.8);
Tailwind
colors: {
  custom: {
    50: '#75b1bd',
    500: '#2791a2',
    950: '#000000',
  },
}
SCSS
$custom: #2791a2;
$custom-light: #75b1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2791a2",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 162
  },
  "hsl": {
    "h": 188.293,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.09483,
    "h": 210.8
  },
  "luminance": 0.23291
}

Semantic roles & 50–950 ramp

primary
#2791A2
secondary
#C17164
accent
#5A43E4
background
#F7FAFB
surface
#EEF5F6
border
#C9CFD0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2791A2

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

Preview Lab → · Contrast checker → · Palette generator →

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