#2791B4#2791B4

#2791B4 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.4% C 0.105 H 225.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2791B4
RGBrgb(39, 145, 180)
HSLhsl(195, 64%, 43%)
HSVhsv(195, 78%, 71%)
CMYKcmyk(78.3%, 19.4%, 0%, 29.4%)
CIE-LABlab(56.06, -17.26, -26.68)
CIE-LCHlch(56.06, 31.77, 237.10°)
OKLaboklab(61.4% -0.0742 -0.0748)
OKLCHoklch(61.4% 0.105 225.3)
XYZxyz(19.1969, 23.9751, 46.7871)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791B4 #B44A27
analogous
#27B491 #2791B4 #274AB4
triadic
#2791B4 #B42791 #91B427
tetradic
#2791B4 #9127B4 #B44A27 #4AB427
square
#2791B4 #9127B4 #B44A27 #4AB427
split-complementary
#2791B4 #B4274A #B49127
monochromatic
#11404F #1C6882 #2791B4 #42B1D6 #74C6E1

Accessibility & contrast

On white

3.62
#2791B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#2791B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2791B4#FFFFFF#000000##000000
##2791B41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8EB6
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#009B9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2791b4;
/* rgb */ color: rgb(39, 145, 180);
/* oklch */ color: oklch(61.4% 0.105 225.3);
Tailwind
colors: {
  custom: {
    50: '#78b1ca',
    500: '#2791b4',
    950: '#000000',
  },
}
SCSS
$custom: #2791b4;
$custom-light: #78b1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2791b4",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 180
  },
  "hsl": {
    "h": 194.894,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.10537,
    "h": 225.3
  },
  "luminance": 0.23977
}

Semantic roles & 50–950 ramp

primary
#2791B4
secondary
#C8856F
accent
#6A40E7
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2791B4

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

Preview Lab → · Contrast checker → · Palette generator →

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