#2791B3#2791B3

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

Color values

HEX#2791B3
RGBrgb(39, 145, 179)
HSLhsl(195, 64%, 43%)
HSVhsv(195, 78%, 70%)
CMYKcmyk(78.2%, 19%, 0%, 29.8%)
CIE-LABlab(56.02, -17.60, -26.17)
CIE-LCHlch(56.02, 31.54, 236.08°)
OKLaboklab(61.36% -0.0746 -0.0734)
OKLCHoklch(61.36% 0.105 224.5)
XYZxyz(19.0954, 23.9345, 46.2525)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791B3 #B34927
analogous
#27B38F #2791B3 #274BB3
triadic
#2791B3 #B32791 #91B327
tetradic
#2791B3 #8F27B3 #B34927 #4BB327
square
#2791B3 #8F27B3 #B34927 #4BB327
split-complementary
#2791B3 #B3274B #B38F27
monochromatic
#11404E #1C6881 #2791B3 #41B2D6 #74C6E1

Accessibility & contrast

On white

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

On black

5.79
#2791B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2791B3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2791B3#FFFFFF#000000##000000
##2791B31.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2791b3;
/* rgb */ color: rgb(39, 145, 179);
/* oklch */ color: oklch(61.4% 0.105 224.5);
Tailwind
colors: {
  custom: {
    50: '#78b1c9',
    500: '#2791b3',
    950: '#000000',
  },
}
SCSS
$custom: #2791b3;
$custom-light: #78b1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2791b3",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 179
  },
  "hsl": {
    "h": 194.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.10462,
    "h": 224.5
  },
  "luminance": 0.23937
}

Semantic roles & 50–950 ramp

primary
#2791B3
secondary
#C8846E
accent
#6941E7
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2791B3

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

Preview Lab → · Contrast checker → · Palette generator →

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