#2C70C4#2C70C4

#2C70C4 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.6% C 0.148 H 255.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2C70C4
RGBrgb(44, 112, 196)
HSLhsl(213, 63%, 47%)
HSVhsv(213, 78%, 77%)
CMYKcmyk(77.6%, 42.9%, 0%, 23.1%)
CIE-LABlab(47.12, 8.52, -49.92)
CIE-LCHlch(47.12, 50.64, 279.68°)
OKLaboklab(54.63% -0.0366 -0.1429)
OKLCHoklch(54.63% 0.148 255.6)
XYZxyz(16.7930, 16.1074, 54.4378)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70C4 #C4802C
analogous
#2CBCC4 #2C70C4 #342CC4
triadic
#2C70C4 #C42C70 #70C42C
tetradic
#2C70C4 #C42CBC #C4802C #2CC434
square
#2C70C4 #C42CBC #C4802C #2CC434
split-complementary
#2C70C4 #C4342C #BCC42C
monochromatic
#163760 #215392 #2C70C4 #5490D9 #86B0E4

Accessibility & contrast

On white

4.97
#2C70C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2C70C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70C4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70C4#FFFFFF#000000##FFFFFF
##2C70C41.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4677C7
Deuteranopia (green-blind)
#2A69C2
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c70c4;
/* rgb */ color: rgb(44, 112, 196);
/* oklch */ color: oklch(54.6% 0.148 255.6);
Tailwind
colors: {
  custom: {
    50: '#7b98d6',
    500: '#2c70c4',
    950: '#000000',
  },
}
SCSS
$custom: #2c70c4;
$custom-light: #7b98d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70c4",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 196
  },
  "hsl": {
    "h": 213.158,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.14753,
    "h": 255.6
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#2C70C4
secondary
#CDAA7E
accent
#9D41E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2C70C4

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

Preview Lab → · Contrast checker → · Palette generator →

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