#2C78CD#2C78CD

#2C78CD is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.150 H 254.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C78CD
RGBrgb(44, 120, 205)
HSLhsl(212, 65%, 49%)
HSVhsv(212, 79%, 80%)
CMYKcmyk(78.5%, 41.5%, 0%, 19.6%)
CIE-LABlab(49.95, 6.92, -50.54)
CIE-LCHlch(49.95, 51.01, 277.80°)
OKLaboklab(57% -0.0414 -0.1446)
OKLCHoklch(57% 0.15 254)
XYZxyz(18.7705, 18.3740, 60.3030)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78CD #CD812C
analogous
#2CC9CD #2C78CD #302CCD
triadic
#2C78CD #CD2C78 #78CD2C
tetradic
#2C78CD #CD2CC9 #CD812C #2CCD30
square
#2C78CD #CD2CC9 #CD812C #2CCD30
split-complementary
#2C78CD #CD302C #C9CD2C
monochromatic
#163D68 #215B9B #2C78CD #5B97DC #8DB7E7

Accessibility & contrast

On white

4.49
#2C78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2C78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C78CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78CD#FFFFFF#000000##000000
##2C78CD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c78cd;
/* rgb */ color: rgb(44, 120, 205);
/* oklch */ color: oklch(57.0% 0.150 254.0);
Tailwind
colors: {
  custom: {
    50: '#7d9edd',
    500: '#2c78cd',
    950: '#000000',
  },
}
SCSS
$custom: #2c78cd;
$custom-light: #7d9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78cd",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 211.677,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.15042,
    "h": 254
  },
  "luminance": 0.18376
}

Semantic roles & 50–950 ramp

primary
#2C78CD
secondary
#D1AD84
accent
#9940E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2C78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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