#2C78AF#2C78AF

#2C78AF is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.113 H 244.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2C78AF
RGBrgb(44, 120, 175)
HSLhsl(205, 60%, 43%)
HSVhsv(205, 75%, 69%)
CMYKcmyk(74.9%, 31.4%, 0%, 31.4%)
CIE-LABlab(48.34, -4.21, -35.84)
CIE-LCHlch(48.34, 36.08, 263.31°)
OKLaboklab(55.21% -0.0493 -0.1015)
OKLCHoklch(55.21% 0.113 244.1)
XYZxyz(15.4901, 17.0618, 43.0260)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78AF #AF632C
analogous
#2CAFA4 #2C78AF #2C36AF
triadic
#2C78AF #AF2C78 #78AF2C
tetradic
#2C78AF #A42CAF #AF632C #36AF2C
square
#2C78AF #A42CAF #AF632C #36AF2C
split-complementary
#2C78AF #AF2C36 #AFA42C
monochromatic
#13354D #20567E #2C78AF #4797D1 #78B3DD

Accessibility & contrast

On white

4.76
#2C78AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2C78AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78AF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78AF#FFFFFF#000000##FFFFFF
##2C78AF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB1
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c78af;
/* rgb */ color: rgb(44, 120, 175);
/* oklch */ color: oklch(55.2% 0.113 244.1);
Tailwind
colors: {
  custom: {
    50: '#779ec7',
    500: '#2c78af',
    950: '#000000',
  },
}
SCSS
$custom: #2c78af;
$custom-light: #779ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78af",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 175
  },
  "hsl": {
    "h": 205.191,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.11288,
    "h": 244.1
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#2C78AF
secondary
#C59572
accent
#8745E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C78AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2C78AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva