#2C78B9#2C78B9

#2C78B9 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.125 H 248.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2C78B9
RGBrgb(44, 120, 185)
HSLhsl(208, 62%, 45%)
HSVhsv(208, 76%, 73%)
CMYKcmyk(76.2%, 35.1%, 0%, 27.5%)
CIE-LABlab(48.85, -0.54, -40.82)
CIE-LCHlch(48.85, 40.83, 269.25°)
OKLaboklab(55.78% -0.0464 -0.1161)
OKLCHoklch(55.78% 0.125 248.2)
XYZxyz(16.5088, 17.4693, 48.3914)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C78B9 #B96D2C
analogous
#2CB9B4 #2C78B9 #2C31B9
triadic
#2C78B9 #B92C78 #78B92C
tetradic
#2C78B9 #B42CB9 #B96D2C #31B92C
square
#2C78B9 #B42CB9 #B96D2C #31B92C
split-complementary
#2C78B9 #B92C31 #B9B42C
monochromatic
#143856 #205888 #2C78B9 #4D96D5 #7FB4E1

Accessibility & contrast

On white

4.67
#2C78B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C78B9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C78B9#FFFFFF#000000##FFFFFF
##2C78B91.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBC
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c78b9;
/* rgb */ color: rgb(44, 120, 185);
/* oklch */ color: oklch(55.8% 0.125 248.2);
Tailwind
colors: {
  custom: {
    50: '#799ece',
    500: '#2c78b9',
    950: '#000000',
  },
}
SCSS
$custom: #2c78b9;
$custom-light: #799ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2c78b9",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 185
  },
  "hsl": {
    "h": 207.66,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.12502,
    "h": 248.2
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#2C78B9
secondary
#C99D78
accent
#8E43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C78B9

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

Preview Lab → · Contrast checker → · Palette generator →

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