#2781AF#2781AF

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

Color values

HEX#2781AF
RGBrgb(39, 129, 175)
HSLhsl(200, 64%, 42%)
HSVhsv(200, 78%, 69%)
CMYKcmyk(77.7%, 26.3%, 0%, 31.4%)
CIE-LABlab(50.95, -10.09, -31.75)
CIE-LCHlch(50.95, 33.32, 252.37°)
OKLaboklab(57.25% -0.0605 -0.0896)
OKLCHoklch(57.25% 0.108 236)
XYZxyz(16.4217, 19.2250, 43.3944)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2781AF #AF5527
analogous
#27AF99 #2781AF #273DAF
triadic
#2781AF #AF2781 #81AF27
tetradic
#2781AF #9927AF #AF5527 #3DAF27
square
#2781AF #9927AF #AF5527 #3DAF27
split-complementary
#2781AF #AF273D #AF9927
monochromatic
#11374B #1C5C7D #2781AF #3FA2D4 #71BADF

Accessibility & contrast

On white

4.33
#2781AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2781AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2781AF#FFFFFF#000000##000000
##2781AF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B80B1
Deuteranopia (green-blind)
#5874AE
Tritanopia (blue-blind)
#008D91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2781af;
/* rgb */ color: rgb(39, 129, 175);
/* oklch */ color: oklch(57.2% 0.108 236.0);
Tailwind
colors: {
  custom: {
    50: '#76a5c7',
    500: '#2781af',
    950: '#000000',
  },
}
SCSS
$custom: #2781af;
$custom-light: #76a5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2781af",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 175
  },
  "hsl": {
    "h": 200.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.10813,
    "h": 236
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#2781AF
secondary
#C68A6B
accent
#7941E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2781AF

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

Preview Lab → · Contrast checker → · Palette generator →

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