#2C78B6#2C78B6

#2C78B6 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.6% C 0.121 H 247.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2C78B6
RGBrgb(44, 120, 182)
HSLhsl(207, 61%, 44%)
HSVhsv(207, 76%, 71%)
CMYKcmyk(75.8%, 34.1%, 0%, 28.6%)
CIE-LABlab(48.69, -1.64, -39.34)
CIE-LCHlch(48.69, 39.37, 267.61°)
OKLaboklab(55.61% -0.0472 -0.1118)
OKLCHoklch(55.61% 0.121 247.1)
XYZxyz(16.1954, 17.3439, 46.7411)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78B6 #B66A2C
analogous
#2CB6AF #2C78B6 #2C33B6
triadic
#2C78B6 #B62C78 #78B62C
tetradic
#2C78B6 #AF2CB6 #B66A2C #33B62C
square
#2C78B6 #AF2CB6 #B66A2C #33B62C
split-complementary
#2C78B6 #B62C33 #B6AF2C
monochromatic
#143753 #205885 #2C78B6 #4C97D4 #7DB3E0

Accessibility & contrast

On white

4.70
#2C78B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2C78B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78B6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78B6#FFFFFF#000000##FFFFFF
##2C78B61.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BB9
Deuteranopia (green-blind)
#486EB5
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c78b6;
/* rgb */ color: rgb(44, 120, 182);
/* oklch */ color: oklch(55.6% 0.121 247.1);
Tailwind
colors: {
  custom: {
    50: '#789ecc',
    500: '#2c78b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c78b6;
$custom-light: #789ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78b6",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 182
  },
  "hsl": {
    "h": 206.957,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.12133,
    "h": 247.1
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#2C78B6
secondary
#C89B76
accent
#8C44E4
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C78B6

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

Preview Lab → · Contrast checker → · Palette generator →

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