#2C78B2#2C78B2

#2C78B2 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.116 H 245.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2C78B2
RGBrgb(44, 120, 178)
HSLhsl(206, 60%, 44%)
HSVhsv(206, 75%, 70%)
CMYKcmyk(75.3%, 32.6%, 0%, 30.2%)
CIE-LABlab(48.49, -3.11, -37.34)
CIE-LCHlch(48.49, 37.47, 265.24°)
OKLaboklab(55.38% -0.0484 -0.1059)
OKLCHoklch(55.38% 0.116 245.4)
XYZxyz(15.7880, 17.1809, 44.5950)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78B2 #B2662C
analogous
#2CB2A9 #2C78B2 #2C35B2
triadic
#2C78B2 #B22C78 #78B22C
tetradic
#2C78B2 #A92CB2 #B2662C #35B22C
square
#2C78B2 #A92CB2 #B2662C #35B22C
split-complementary
#2C78B2 #B22C35 #B2A92C
monochromatic
#143650 #205781 #2C78B2 #4997D2 #7AB3DE

Accessibility & contrast

On white

4.73
#2C78B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2C78B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78B2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78B2#FFFFFF#000000##FFFFFF
##2C78B21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB4
Deuteranopia (green-blind)
#4A6EB1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c78b2;
/* rgb */ color: rgb(44, 120, 178);
/* oklch */ color: oklch(55.4% 0.116 245.4);
Tailwind
colors: {
  custom: {
    50: '#789ec9',
    500: '#2c78b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c78b2;
$custom-light: #789ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78b2",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 205.97,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55379,
    "c": 0.11646,
    "h": 245.4
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#2C78B2
secondary
#C69773
accent
#8944E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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