#2C78AA#2C78AA

#2C78AA is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.107 H 241.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2C78AA
RGBrgb(44, 120, 170)
HSLhsl(204, 59%, 42%)
HSVhsv(204, 74%, 67%)
CMYKcmyk(74.1%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.09, -6.02, -33.31)
CIE-LCHlch(48.09, 33.85, 259.76°)
OKLaboklab(54.94% -0.0509 -0.0942)
OKLCHoklch(54.94% 0.107 241.6)
XYZxyz(15.0081, 16.8690, 40.4875)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78AA #AA5E2C
analogous
#2CAA9D #2C78AA #2C39AA
triadic
#2C78AA #AA2C78 #78AA2C
tetradic
#2C78AA #9D2CAA #AA5E2C #39AA2C
square
#2C78AA #9D2CAA #AA5E2C #39AA2C
split-complementary
#2C78AA #AA2C39 #AA9D2C
monochromatic
#133349 #1F5679 #2C78AA #4498CF #75B3DB

Accessibility & contrast

On white

4.80
#2C78AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2C78AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78AA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78AA#FFFFFF#000000##FFFFFF
##2C78AA1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AC
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c78aa;
/* rgb */ color: rgb(44, 120, 170);
/* oklch */ color: oklch(54.9% 0.107 241.6);
Tailwind
colors: {
  custom: {
    50: '#769ec3',
    500: '#2c78aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c78aa;
$custom-light: #769ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78aa",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 203.81,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.10706,
    "h": 241.6
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#2C78AA
secondary
#C3906F
accent
#8446E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C78AA

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

Preview Lab → · Contrast checker → · Palette generator →

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