#2C78B1#2C78B1

#2C78B1 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.3% C 0.115 H 245.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C78B1
RGBrgb(44, 120, 177)
HSLhsl(206, 60%, 43%)
HSVhsv(206, 75%, 69%)
CMYKcmyk(75.1%, 32.2%, 0%, 30.6%)
CIE-LABlab(48.44, -3.48, -36.84)
CIE-LCHlch(48.44, 37.01, 264.61°)
OKLaboklab(55.32% -0.0487 -0.1045)
OKLCHoklch(55.32% 0.115 245)
XYZxyz(15.6879, 17.1409, 44.0682)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78B1 #B1652C
analogous
#2CB1A7 #2C78B1 #2C36B1
triadic
#2C78B1 #B12C78 #78B12C
tetradic
#2C78B1 #A72CB1 #B1652C #36B12C
square
#2C78B1 #A72CB1 #B1652C #36B12C
split-complementary
#2C78B1 #B12C36 #B1A72C
monochromatic
#14364F #205780 #2C78B1 #4997D2 #7AB3DE

Accessibility & contrast

On white

4.74
#2C78B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2C78B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78B1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78B1#FFFFFF#000000##FFFFFF
##2C78B11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB3
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c78b1;
/* rgb */ color: rgb(44, 120, 177);
/* oklch */ color: oklch(55.3% 0.115 245.0);
Tailwind
colors: {
  custom: {
    50: '#789ec8',
    500: '#2c78b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c78b1;
$custom-light: #789ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78b1",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 177
  },
  "hsl": {
    "h": 205.714,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55323,
    "c": 0.11526,
    "h": 245
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#2C78B1
secondary
#C69673
accent
#8944E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C78B1

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

Preview Lab → · Contrast checker → · Palette generator →

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