#2781AA#2781AA

#2781AA is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.0% C 0.103 H 232.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2781AA
RGBrgb(39, 129, 170)
HSLhsl(199, 63%, 41%)
HSVhsv(199, 77%, 67%)
CMYKcmyk(77.1%, 24.1%, 0%, 33.3%)
CIE-LABlab(50.72, -11.88, -29.21)
CIE-LCHlch(50.72, 31.53, 247.87°)
OKLaboklab(56.99% -0.0623 -0.0823)
OKLCHoklch(56.99% 0.103 232.9)
XYZxyz(15.9397, 19.0322, 40.8559)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2781AA #AA5027
analogous
#27AA91 #2781AA #273FAA
triadic
#2781AA #AA2781 #81AA27
tetradic
#2781AA #9127AA #AA5027 #3FAA27
square
#2781AA #9127AA #AA5027 #3FAA27
split-complementary
#2781AA #AA273F #AA9127
monochromatic
#103546 #1C5B78 #2781AA #3CA3D2 #6EBBDE

Accessibility & contrast

On white

4.37
#2781AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2781AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2781AA#FFFFFF#000000##000000
##2781AA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AC
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2781aa;
/* rgb */ color: rgb(39, 129, 170);
/* oklch */ color: oklch(57.0% 0.103 232.9);
Tailwind
colors: {
  custom: {
    50: '#75a5c3',
    500: '#2781aa',
    950: '#000000',
  },
}
SCSS
$custom: #2781aa;
$custom-light: #75a5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2781aa",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 170
  },
  "hsl": {
    "h": 198.779,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.10318,
    "h": 232.9
  },
  "luminance": 0.19034
}

Semantic roles & 50–950 ramp

primary
#2781AA
secondary
#C48569
accent
#7542E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2781AA

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

Preview Lab → · Contrast checker → · Palette generator →

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