#2791B2#2791B2

#2791B2 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.3% C 0.104 H 223.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2791B2
RGBrgb(39, 145, 178)
HSLhsl(194, 64%, 43%)
HSVhsv(194, 78%, 70%)
CMYKcmyk(78.1%, 18.5%, 0%, 30.2%)
CIE-LABlab(55.98, -17.94, -25.66)
CIE-LCHlch(55.98, 31.31, 235.04°)
OKLaboklab(61.31% -0.0749 -0.0719)
OKLCHoklch(61.31% 0.104 223.8)
XYZxyz(18.9946, 23.8942, 45.7218)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791B2 #B24827
analogous
#27B28E #2791B2 #274BB2
triadic
#2791B2 #B22791 #91B227
tetradic
#2791B2 #8E27B2 #B24827 #4BB227
square
#2791B2 #8E27B2 #B24827 #4BB227
split-complementary
#2791B2 #B2274B #B28E27
monochromatic
#113F4E #1C6880 #2791B2 #41B2D5 #73C6E0

Accessibility & contrast

On white

3.63
#2791B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#2791B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2791B2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2791B2#FFFFFF#000000##000000
##2791B21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2791b2;
/* rgb */ color: rgb(39, 145, 178);
/* oklch */ color: oklch(61.3% 0.104 223.8);
Tailwind
colors: {
  custom: {
    50: '#78b1c9',
    500: '#2791b2',
    950: '#000000',
  },
}
SCSS
$custom: #2791b2;
$custom-light: #78b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2791b2",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 178
  },
  "hsl": {
    "h": 194.245,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.10388,
    "h": 223.8
  },
  "luminance": 0.23896
}

Semantic roles & 50–950 ramp

primary
#2791B2
secondary
#C8836D
accent
#6841E7
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2791B2

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

Preview Lab → · Contrast checker → · Palette generator →

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