#2C78A1#2C78A1

#2C78A1 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.5% C 0.097 H 236.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C78A1
RGBrgb(44, 120, 161)
HSLhsl(201, 57%, 40%)
HSVhsv(201, 73%, 63%)
CMYKcmyk(72.7%, 25.5%, 0%, 36.9%)
CIE-LABlab(47.68, -9.24, -28.71)
CIE-LCHlch(47.68, 30.16, 252.16°)
OKLaboklab(54.47% -0.0539 -0.0809)
OKLCHoklch(54.47% 0.097 236.3)
XYZxyz(14.1857, 16.5400, 36.1562)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78A1 #A1552C
analogous
#2CA190 #2C78A1 #2C3DA1
triadic
#2C78A1 #A12C78 #78A12C
tetradic
#2C78A1 #902CA1 #A1552C #3DA12C
square
#2C78A1 #902CA1 #A1552C #3DA12C
split-complementary
#2C78A1 #A12C3D #A1902C
monochromatic
#123041 #1F5471 #2C78A1 #409ACB #70B3D8

Accessibility & contrast

On white

4.87
#2C78A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2C78A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78A1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78A1#FFFFFF#000000##FFFFFF
##2C78A11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6477A3
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c78a1;
/* rgb */ color: rgb(44, 120, 161);
/* oklch */ color: oklch(54.5% 0.097 236.3);
Tailwind
colors: {
  custom: {
    50: '#759ebd',
    500: '#2c78a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c78a1;
$custom-light: #759ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78a1",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 161
  },
  "hsl": {
    "h": 201.026,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.0972,
    "h": 236.3
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#2C78A1
secondary
#BF886A
accent
#7D47E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C78A1

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

Preview Lab → · Contrast checker → · Palette generator →

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