#2791AD#2791AD

#2791AD is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.1% C 0.100 H 220.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2791AD
RGBrgb(39, 145, 173)
HSLhsl(193, 63%, 42%)
HSVhsv(193, 77%, 68%)
CMYKcmyk(77.5%, 16.2%, 0%, 32.2%)
CIE-LABlab(55.78, -19.63, -23.11)
CIE-LCHlch(55.78, 30.33, 229.65°)
OKLaboklab(61.09% -0.0769 -0.0647)
OKLCHoklch(61.09% 0.1 220.1)
XYZxyz(18.5018, 23.6970, 43.1259)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2791AD #AD4327
analogous
#27AD86 #2791AD #274EAD
triadic
#2791AD #AD2791 #91AD27
tetradic
#2791AD #8627AD #AD4327 #4EAD27
square
#2791AD #8627AD #AD4327 #4EAD27
split-complementary
#2791AD #AD274E #AD8627
monochromatic
#103D49 #1C677B #2791AD #3EB4D3 #70C8DF

Accessibility & contrast

On white

3.66
#2791AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2791AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2791AD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2791AD#FFFFFF#000000##000000
##2791AD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#808DAE
Deuteranopia (green-blind)
#6E80AD
Tritanopia (blue-blind)
#009A9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2791ad;
/* rgb */ color: rgb(39, 145, 173);
/* oklch */ color: oklch(61.1% 0.100 220.1);
Tailwind
colors: {
  custom: {
    50: '#77b1c5',
    500: '#2791ad',
    950: '#000000',
  },
}
SCSS
$custom: #2791ad;
$custom-light: #77b1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2791ad",
  "rgb": {
    "r": 39,
    "g": 145,
    "b": 173
  },
  "hsl": {
    "h": 192.537,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.10047,
    "h": 220.1
  },
  "luminance": 0.23699
}

Semantic roles & 50–950 ramp

primary
#2791AD
secondary
#C67D6A
accent
#6442E6
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2791AD

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

Preview Lab → · Contrast checker → · Palette generator →

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