#2C78A2#2C78A2

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

Color values

HEX#2C78A2
RGBrgb(44, 120, 162)
HSLhsl(201, 57%, 40%)
HSVhsv(201, 73%, 64%)
CMYKcmyk(72.8%, 25.9%, 0%, 36.5%)
CIE-LABlab(47.72, -8.89, -29.23)
CIE-LCHlch(47.72, 30.55, 253.09°)
OKLaboklab(54.52% -0.0536 -0.0824)
OKLCHoklch(54.52% 0.098 237)
XYZxyz(14.2742, 16.5754, 36.6225)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78A2 #A2562C
analogous
#2CA291 #2C78A2 #2C3DA2
triadic
#2C78A2 #A22C78 #78A22C
tetradic
#2C78A2 #912CA2 #A2562C #3DA22C
square
#2C78A2 #912CA2 #A2562C #3DA22C
split-complementary
#2C78A2 #A22C3D #A2912C
monochromatic
#123142 #1F5472 #2C78A2 #409ACB #70B3D8

Accessibility & contrast

On white

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

On black

4.32
#2C78A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C78A2#FFFFFF#000000##FFFFFF
##2C78A21.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c78a2;
/* rgb */ color: rgb(44, 120, 162);
/* oklch */ color: oklch(54.5% 0.098 237.0);
Tailwind
colors: {
  custom: {
    50: '#759ebd',
    500: '#2c78a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c78a2;
$custom-light: #759ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78a2",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 201.356,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.09825,
    "h": 237
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#2C78A2
secondary
#BF896A
accent
#7E47E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C78A2

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

Preview Lab → · Contrast checker → · Palette generator →

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