#2C79C8#2C79C8

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

Color values

HEX#2C79C8
RGBrgb(44, 121, 200)
HSLhsl(210, 64%, 48%)
HSVhsv(210, 78%, 78%)
CMYKcmyk(78%, 39.5%, 0%, 21.6%)
CIE-LABlab(49.95, 4.43, -47.68)
CIE-LCHlch(49.95, 47.89, 275.31°)
OKLaboklab(56.91% -0.0434 -0.1362)
OKLCHoklch(56.91% 0.143 252.3)
XYZxyz(18.2975, 18.3782, 57.2154)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79C8 #C87B2C
analogous
#2CC7C8 #2C79C8 #2D2CC8
triadic
#2C79C8 #C82C79 #79C82C
tetradic
#2C79C8 #C82CC7 #C87B2C #2CC82D
square
#2C79C8 #C82CC7 #C87B2C #2CC82D
split-complementary
#2C79C8 #C82D2C #C7C82C
monochromatic
#163C64 #215B96 #2C79C8 #5798DA #89B7E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C79C8#FFFFFF#000000##000000
##2C79C81.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)
#537FCB
Deuteranopia (green-blind)
#3A70C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c79c8;
/* rgb */ color: rgb(44, 121, 200);
/* oklch */ color: oklch(56.9% 0.143 252.3);
Tailwind
colors: {
  custom: {
    50: '#7c9fd9',
    500: '#2c79c8',
    950: '#000000',
  },
}
SCSS
$custom: #2c79c8;
$custom-light: #7c9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79c8",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 210.385,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.14293,
    "h": 252.3
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#2C79C8
secondary
#CFA881
accent
#9541E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2C79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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