#2C78B7#2C78B7

#2C78B7 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 55.7% C 0.123 H 247.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2C78B7
RGBrgb(44, 120, 183)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 72%)
CMYKcmyk(76%, 34.4%, 0%, 28.2%)
CIE-LABlab(48.74, -1.27, -39.83)
CIE-LCHlch(48.74, 39.85, 268.17°)
OKLaboklab(55.66% -0.0469 -0.1132)
OKLCHoklch(55.66% 0.123 247.5)
XYZxyz(16.2992, 17.3854, 47.2873)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78B7 #B76B2C
analogous
#2CB7B0 #2C78B7 #2C33B7
triadic
#2C78B7 #B72C78 #78B72C
tetradic
#2C78B7 #B02CB7 #B76B2C #33B72C
square
#2C78B7 #B02CB7 #B76B2C #33B72C
split-complementary
#2C78B7 #B72C33 #B7B02C
monochromatic
#143754 #205886 #2C78B7 #4C96D4 #7EB3E0

Accessibility & contrast

On white

4.69
#2C78B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2C78B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78B7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78B7#FFFFFF#000000##FFFFFF
##2C78B71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#476EB6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c78b7;
/* rgb */ color: rgb(44, 120, 183);
/* oklch */ color: oklch(55.7% 0.123 247.5);
Tailwind
colors: {
  custom: {
    50: '#799ecd',
    500: '#2c78b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c78b7;
$custom-light: #799ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78b7",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 207.194,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.12256,
    "h": 247.5
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#2C78B7
secondary
#C89C76
accent
#8C43E4
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C78B7

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

Preview Lab → · Contrast checker → · Palette generator →

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