#2791A3#2791A3

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

Color values

HEX#2791A3
RGBrgb(39, 145, 163)
HSLhsl(189, 61%, 40%)
HSVhsv(189, 76%, 64%)
CMYKcmyk(76.1%, 11%, 0%, 36.1%)
CIE-LABlab(55.40, -22.95, -17.97)
CIE-LCHlch(55.40, 29.15, 218.06°)
OKLaboklab(60.66% -0.081 -0.0501)
OKLCHoklch(60.66% 0.095 211.7)
XYZxyz(17.5701, 23.3244, 38.2193)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791A3 #A33927
analogous
#27A377 #2791A3 #2753A3
triadic
#2791A3 #A32791 #91A327
tetradic
#2791A3 #7727A3 #A33927 #53A327
square
#2791A3 #7727A3 #A33927 #53A327
split-complementary
#2791A3 #A32753 #A37727
monochromatic
#0F3940 #1B6572 #2791A3 #38B9CF #69CBDB

Accessibility & contrast

On white

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

On black

5.67
#2791A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2791A3#FFFFFF#000000##000000
##2791A31.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2791a3;
/* rgb */ color: rgb(39, 145, 163);
/* oklch */ color: oklch(60.7% 0.095 211.7);
Tailwind
colors: {
  custom: {
    50: '#75b1be',
    500: '#2791a3',
    950: '#000000',
  },
}
SCSS
$custom: #2791a3;
$custom-light: #75b1be;
$custom-dark: #000000;
JSON
{
  "hex": "#2791a3",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 163
  },
  "hsl": {
    "h": 188.71,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.09522,
    "h": 211.7
  },
  "luminance": 0.23326
}

Semantic roles & 50–950 ramp

primary
#2791A3
secondary
#C17264
accent
#5B43E4
background
#F7FAFB
surface
#EEF5F6
border
#C9CFD0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2791A3

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

Preview Lab → · Contrast checker → · Palette generator →

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