#2C78D1#2C78D1

#2C78D1 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.3% C 0.156 H 254.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2C78D1
RGBrgb(44, 120, 209)
HSLhsl(212, 65%, 50%)
HSVhsv(212, 79%, 82%)
CMYKcmyk(78.9%, 42.6%, 0%, 18%)
CIE-LABlab(50.18, 8.42, -52.45)
CIE-LCHlch(50.18, 53.12, 279.12°)
OKLaboklab(57.26% -0.0406 -0.1502)
OKLCHoklch(57.26% 0.156 254.9)
XYZxyz(19.2595, 18.5696, 62.8785)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78D1 #D1852C
analogous
#2CCAD1 #2C78D1 #332CD1
triadic
#2C78D1 #D12C78 #78D12C
tetradic
#2C78D1 #D12CCA #D1852C #2CD133
square
#2C78D1 #D12CCA #D1852C #2CD133
split-complementary
#2C78D1 #D1332C #CAD12C
monochromatic
#173E6C #215B9E #2C78D1 #5D98DD #90B8E8

Accessibility & contrast

On white

4.45
#2C78D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2C78D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C78D1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78D1#FFFFFF#000000##000000
##2C78D11.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7FD4
Deuteranopia (green-blind)
#2C71CF
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c78d1;
/* rgb */ color: rgb(44, 120, 209);
/* oklch */ color: oklch(57.3% 0.156 254.9);
Tailwind
colors: {
  custom: {
    50: '#7e9edf',
    500: '#2c78d1',
    950: '#000000',
  },
}
SCSS
$custom: #2c78d1;
$custom-light: #7e9edf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78d1",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 209
  },
  "hsl": {
    "h": 212.364,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.15559,
    "h": 254.9
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

primary
#2C78D1
secondary
#D2AF87
accent
#9B40E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2C78D1

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

Preview Lab → · Contrast checker → · Palette generator →

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