#2781AD#2781AD

#2781AD is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.1% C 0.106 H 234.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2781AD
RGBrgb(39, 129, 173)
HSLhsl(200, 63%, 42%)
HSVhsv(200, 77%, 68%)
CMYKcmyk(77.5%, 25.4%, 0%, 32.2%)
CIE-LABlab(50.86, -10.81, -30.74)
CIE-LCHlch(50.86, 32.58, 250.63°)
OKLaboklab(57.15% -0.0612 -0.0867)
OKLCHoklch(57.15% 0.106 234.8)
XYZxyz(16.2268, 19.1470, 42.3676)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2781AD #AD5327
analogous
#27AD96 #2781AD #273EAD
triadic
#2781AD #AD2781 #81AD27
tetradic
#2781AD #9627AD #AD5327 #3EAD27
square
#2781AD #9627AD #AD5327 #3EAD27
split-complementary
#2781AD #AD273E #AD9627
monochromatic
#103749 #1C5C7B #2781AD #3EA2D3 #70BADF

Accessibility & contrast

On white

4.35
#2781AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2781AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2781AD#FFFFFF#000000##000000
##2781AD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AF
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#008D90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2781ad;
/* rgb */ color: rgb(39, 129, 173);
/* oklch */ color: oklch(57.1% 0.106 234.8);
Tailwind
colors: {
  custom: {
    50: '#76a5c5',
    500: '#2781ad',
    950: '#000000',
  },
}
SCSS
$custom: #2781ad;
$custom-light: #76a5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2781ad",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 173
  },
  "hsl": {
    "h": 199.701,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.10612,
    "h": 234.8
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#2781AD
secondary
#C6886A
accent
#7842E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2781AD

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

Preview Lab → · Contrast checker → · Palette generator →

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