#2781A4#2781A4

#2781A4 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.7% C 0.098 H 228.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2781A4
RGBrgb(39, 129, 164)
HSLhsl(197, 62%, 40%)
HSVhsv(197, 76%, 64%)
CMYKcmyk(76.2%, 21.3%, 0%, 35.7%)
CIE-LABlab(50.46, -13.99, -26.14)
CIE-LCHlch(50.46, 29.65, 241.84°)
OKLaboklab(56.7% -0.0645 -0.0734)
OKLCHoklch(56.7% 0.098 228.7)
XYZxyz(15.3851, 18.8104, 37.9347)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2781A4 #A44A27
analogous
#27A489 #2781A4 #2743A4
triadic
#2781A4 #A42781 #81A427
tetradic
#2781A4 #8927A4 #A44A27 #43A427
square
#2781A4 #8927A4 #A44A27 #43A427
split-complementary
#2781A4 #A42743 #A48927
monochromatic
#0F3341 #1B5A73 #2781A4 #38A5D0 #6ABCDC

Accessibility & contrast

On white

4.41
#2781A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2781A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2781A4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2781A4#FFFFFF#000000##000000
##2781A41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA6
Deuteranopia (green-blind)
#5E73A4
Tritanopia (blue-blind)
#008B8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2781a4;
/* rgb */ color: rgb(39, 129, 164);
/* oklch */ color: oklch(56.7% 0.098 228.7);
Tailwind
colors: {
  custom: {
    50: '#74a5bf',
    500: '#2781a4',
    950: '#000000',
  },
}
SCSS
$custom: #2781a4;
$custom-light: #74a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2781a4",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 164
  },
  "hsl": {
    "h": 196.8,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.567,
    "c": 0.09771,
    "h": 228.7
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#2781A4
secondary
#C27F65
accent
#7043E5
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2781A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2781A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva