#2C70C0#2C70C0

#2C70C0 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.4% C 0.142 H 254.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2C70C0
RGBrgb(44, 112, 192)
HSLhsl(212, 63%, 46%)
HSVhsv(212, 77%, 75%)
CMYKcmyk(77.1%, 41.7%, 0%, 24.7%)
CIE-LABlab(46.88, 7.01, -47.99)
CIE-LCHlch(46.88, 48.50, 278.31°)
OKLaboklab(54.37% -0.0375 -0.1372)
OKLCHoklch(54.37% 0.142 254.7)
XYZxyz(16.3438, 15.9277, 52.0719)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70C0 #C07C2C
analogous
#2CBAC0 #2C70C0 #322CC0
triadic
#2C70C0 #C02C70 #70C02C
tetradic
#2C70C0 #C02CBA #C07C2C #2CC032
square
#2C70C0 #C02CBA #C07C2C #2CC032
split-complementary
#2C70C0 #C0322C #BAC02C
monochromatic
#15365C #21538E #2C70C0 #528FD7 #84AFE3

Accessibility & contrast

On white

5.02
#2C70C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2C70C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70C0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70C0#FFFFFF#000000##FFFFFF
##2C70C01.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C3
Deuteranopia (green-blind)
#2F69BE
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c70c0;
/* rgb */ color: rgb(44, 112, 192);
/* oklch */ color: oklch(54.4% 0.142 254.7);
Tailwind
colors: {
  custom: {
    50: '#7a98d3',
    500: '#2c70c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c70c0;
$custom-light: #7a98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70c0",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 192
  },
  "hsl": {
    "h": 212.432,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.14227,
    "h": 254.7
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#2C70C0
secondary
#CCA77C
accent
#9B42E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2C70C0

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

Preview Lab → · Contrast checker → · Palette generator →

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