#2C78C8#2C78C8

#2C78C8 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.7% C 0.144 H 252.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C78C8
RGBrgb(44, 120, 200)
HSLhsl(211, 64%, 48%)
HSVhsv(211, 78%, 78%)
CMYKcmyk(78%, 40%, 0%, 21.6%)
CIE-LABlab(49.66, 5.05, -48.14)
CIE-LCHlch(49.66, 48.41, 275.98°)
OKLaboklab(56.68% -0.0426 -0.1376)
OKLCHoklch(56.68% 0.144 252.8)
XYZxyz(18.1766, 18.1364, 57.1751)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78C8 #C87C2C
analogous
#2CC6C8 #2C78C8 #2E2CC8
triadic
#2C78C8 #C82C78 #78C82C
tetradic
#2C78C8 #C82CC6 #C87C2C #2CC82E
square
#2C78C8 #C82CC6 #C87C2C #2CC82E
split-complementary
#2C78C8 #C82E2C #C6C82C
monochromatic
#163C64 #215A96 #2C78C8 #5797DA #89B6E5

Accessibility & contrast

On white

4.54
#2C78C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2C78C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C78C8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78C8#FFFFFF#000000##000000
##2C78C81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECB
Deuteranopia (green-blind)
#3870C6
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c78c8;
/* rgb */ color: rgb(44, 120, 200);
/* oklch */ color: oklch(56.7% 0.144 252.8);
Tailwind
colors: {
  custom: {
    50: '#7c9ed9',
    500: '#2c78c8',
    950: '#000000',
  },
}
SCSS
$custom: #2c78c8;
$custom-light: #7c9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78c8",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 210.769,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.14399,
    "h": 252.8
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#2C78C8
secondary
#CFA981
accent
#9641E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2C78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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