#2782AB#2782AB

#2782AB is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.3% C 0.104 H 232.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2782AB
RGBrgb(39, 130, 171)
HSLhsl(199, 63%, 41%)
HSVhsv(199, 77%, 67%)
CMYKcmyk(77.2%, 24%, 0%, 32.9%)
CIE-LABlab(51.08, -12.09, -29.24)
CIE-LCHlch(51.08, 31.64, 247.54°)
OKLaboklab(57.29% -0.0629 -0.0823)
OKLCHoklch(57.29% 0.104 232.6)
XYZxyz(16.1671, 19.3349, 41.4001)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2782AB #AB5027
analogous
#27AB92 #2782AB #2740AB
triadic
#2782AB #AB2782 #82AB27
tetradic
#2782AB #9227AB #AB5027 #40AB27
square
#2782AB #9227AB #AB5027 #40AB27
split-complementary
#2782AB #AB2740 #AB9227
monochromatic
#103647 #1C5C79 #2782AB #3DA4D3 #6EBBDE

Accessibility & contrast

On white

4.31
#2782AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2782AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2782AB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2782AB#FFFFFF#000000##000000
##2782AB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AD
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#008D90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2782ab;
/* rgb */ color: rgb(39, 130, 171);
/* oklch */ color: oklch(57.3% 0.104 232.6);
Tailwind
colors: {
  custom: {
    50: '#75a6c4',
    500: '#2782ab',
    950: '#000000',
  },
}
SCSS
$custom: #2782ab;
$custom-light: #75a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2782ab",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 171
  },
  "hsl": {
    "h": 198.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.10362,
    "h": 232.6
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#2782AB
secondary
#C58669
accent
#7542E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2782AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2782AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva