#2C78B8#2C78B8

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

Color values

HEX#2C78B8
RGBrgb(44, 120, 184)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 72%)
CMYKcmyk(76.1%, 34.8%, 0%, 27.8%)
CIE-LABlab(48.79, -0.90, -40.33)
CIE-LCHlch(48.79, 40.34, 268.71°)
OKLaboklab(55.72% -0.0467 -0.1147)
OKLCHoklch(55.72% 0.124 247.9)
XYZxyz(16.4036, 17.4272, 47.8374)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78B8 #B86C2C
analogous
#2CB8B2 #2C78B8 #2C32B8
triadic
#2C78B8 #B82C78 #78B82C
tetradic
#2C78B8 #B22CB8 #B86C2C #32B82C
square
#2C78B8 #B22CB8 #B86C2C #32B82C
split-complementary
#2C78B8 #B82C32 #B8B22C
monochromatic
#143855 #205887 #2C78B8 #4D96D4 #7EB3E0

Accessibility & contrast

On white

4.68
#2C78B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2C78B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C78B8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78B8#FFFFFF#000000##FFFFFF
##2C78B81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBB
Deuteranopia (green-blind)
#466EB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c78b8;
/* rgb */ color: rgb(44, 120, 184);
/* oklch */ color: oklch(55.7% 0.124 247.9);
Tailwind
colors: {
  custom: {
    50: '#799ecd',
    500: '#2c78b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c78b8;
$custom-light: #799ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78b8",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 184
  },
  "hsl": {
    "h": 207.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55721,
    "c": 0.12379,
    "h": 247.9
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#2C78B8
secondary
#C99C77
accent
#8D43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C78B8

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

Preview Lab → · Contrast checker → · Palette generator →

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