#2791B6#2791B6

#2791B6 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.5% C 0.107 H 226.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2791B6
RGBrgb(39, 145, 182)
HSLhsl(196, 65%, 43%)
HSVhsv(196, 79%, 71%)
CMYKcmyk(78.6%, 20.3%, 0%, 28.6%)
CIE-LABlab(56.15, -16.57, -27.69)
CIE-LCHlch(56.15, 32.27, 239.10°)
OKLaboklab(61.5% -0.0734 -0.0777)
OKLCHoklch(61.5% 0.107 226.6)
XYZxyz(19.4021, 24.0572, 47.8678)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791B6 #B64C27
analogous
#27B693 #2791B6 #274AB6
triadic
#2791B6 #B62791 #91B627
tetradic
#2791B6 #9327B6 #B64C27 #4AB627
square
#2791B6 #9327B6 #B64C27 #4AB627
split-complementary
#2791B6 #B6274A #B69327
monochromatic
#114151 #1C6984 #2791B6 #43B1D7 #76C6E2

Accessibility & contrast

On white

3.61
#2791B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2791B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2791B6#FFFFFF#000000##000000
##2791B61.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8EB8
Deuteranopia (green-blind)
#6A81B6
Tritanopia (blue-blind)
#009C9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2791b6;
/* rgb */ color: rgb(39, 145, 182);
/* oklch */ color: oklch(61.5% 0.107 226.6);
Tailwind
colors: {
  custom: {
    50: '#78b1cc',
    500: '#2791b6',
    950: '#000000',
  },
}
SCSS
$custom: #2791b6;
$custom-light: #78b1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2791b6",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 182
  },
  "hsl": {
    "h": 195.524,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.10694,
    "h": 226.6
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#2791B6
secondary
#C98770
accent
#6B40E8
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2791B6

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

Preview Lab → · Contrast checker → · Palette generator →

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