#2C78A4#2C78A4

#2C78A4 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.6% C 0.100 H 238.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2C78A4
RGBrgb(44, 120, 164)
HSLhsl(202, 58%, 41%)
HSVhsv(202, 73%, 64%)
CMYKcmyk(73.2%, 26.8%, 0%, 35.7%)
CIE-LABlab(47.81, -8.17, -30.25)
CIE-LCHlch(47.81, 31.34, 254.88°)
OKLaboklab(54.62% -0.0529 -0.0853)
OKLCHoklch(54.62% 0.1 238.2)
XYZxyz(14.4534, 16.6471, 37.5662)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78A4 #A4582C
analogous
#2CA494 #2C78A4 #2C3CA4
triadic
#2C78A4 #A42C78 #78A42C
tetradic
#2C78A4 #942CA4 #A4582C #3CA42C
square
#2C78A4 #942CA4 #A4582C #3CA42C
split-complementary
#2C78A4 #A42C3C #A4942C
monochromatic
#123143 #1F5574 #2C78A4 #4199CC #71B3D9

Accessibility & contrast

On white

4.85
#2C78A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2C78A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78A4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78A4#FFFFFF#000000##FFFFFF
##2C78A41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6378A6
Deuteranopia (green-blind)
#536CA3
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c78a4;
/* rgb */ color: rgb(44, 120, 164);
/* oklch */ color: oklch(54.6% 0.100 238.2);
Tailwind
colors: {
  custom: {
    50: '#759ebf',
    500: '#2c78a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c78a4;
$custom-light: #759ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78a4",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 164
  },
  "hsl": {
    "h": 202,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.10038,
    "h": 238.2
  },
  "luminance": 0.16649
}

Semantic roles & 50–950 ramp

primary
#2C78A4
secondary
#C08B6B
accent
#7F47E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C78A4

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

Preview Lab → · Contrast checker → · Palette generator →

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