#2781AE#2781AE

#2781AE is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.2% C 0.107 H 235.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2781AE
RGBrgb(39, 129, 174)
HSLhsl(200, 63%, 42%)
HSVhsv(200, 78%, 68%)
CMYKcmyk(77.6%, 25.9%, 0%, 31.8%)
CIE-LABlab(50.90, -10.45, -31.25)
CIE-LCHlch(50.90, 32.95, 251.50°)
OKLaboklab(57.2% -0.0609 -0.0881)
OKLCHoklch(57.2% 0.107 235.4)
XYZxyz(16.3239, 19.1859, 42.8791)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2781AE #AE5427
analogous
#27AE98 #2781AE #273EAE
triadic
#2781AE #AE2781 #81AE27
tetradic
#2781AE #9827AE #AE5427 #3EAE27
square
#2781AE #9827AE #AE5427 #3EAE27
split-complementary
#2781AE #AE273E #AE9827
monochromatic
#11374A #1C5C7C #2781AE #3EA2D4 #70BADF

Accessibility & contrast

On white

4.34
#2781AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2781AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2781AE#FFFFFF#000000##000000
##2781AE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B80B0
Deuteranopia (green-blind)
#5974AD
Tritanopia (blue-blind)
#008D90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2781ae;
/* rgb */ color: rgb(39, 129, 174);
/* oklch */ color: oklch(57.2% 0.107 235.4);
Tailwind
colors: {
  custom: {
    50: '#76a5c6',
    500: '#2781ae',
    950: '#000000',
  },
}
SCSS
$custom: #2781ae;
$custom-light: #76a5c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2781ae",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 174
  },
  "hsl": {
    "h": 200,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57196,
    "c": 0.10712,
    "h": 235.4
  },
  "luminance": 0.19188
}

Semantic roles & 50–950 ramp

primary
#2781AE
secondary
#C6896B
accent
#7841E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2781AE

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

Preview Lab → · Contrast checker → · Palette generator →

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