#2C70C5#2C70C5

#2C70C5 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.149 H 255.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2C70C5
RGBrgb(44, 112, 197)
HSLhsl(213, 63%, 47%)
HSVhsv(213, 78%, 77%)
CMYKcmyk(77.7%, 43.1%, 0%, 22.7%)
CIE-LABlab(47.17, 8.90, -50.40)
CIE-LCHlch(47.17, 51.18, 280.01°)
OKLaboklab(54.69% -0.0364 -0.1443)
OKLCHoklch(54.69% 0.149 255.8)
XYZxyz(16.9072, 16.1530, 55.0393)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70C5 #C5812C
analogous
#2CBDC5 #2C70C5 #342CC5
triadic
#2C70C5 #C52C70 #70C52C
tetradic
#2C70C5 #C52CBD #C5812C #2CC534
square
#2C70C5 #C52CBD #C5812C #2CC534
split-complementary
#2C70C5 #C5342C #BDC52C
monochromatic
#163761 #215493 #2C70C5 #5590D9 #87B1E4

Accessibility & contrast

On white

4.96
#2C70C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2C70C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70C5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70C5#FFFFFF#000000##FFFFFF
##2C70C51.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4577C8
Deuteranopia (green-blind)
#2869C3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c70c5;
/* rgb */ color: rgb(44, 112, 197);
/* oklch */ color: oklch(54.7% 0.149 255.8);
Tailwind
colors: {
  custom: {
    50: '#7b98d7',
    500: '#2c70c5',
    950: '#000000',
  },
}
SCSS
$custom: #2c70c5;
$custom-light: #7b98d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70c5",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 197
  },
  "hsl": {
    "h": 213.333,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.14884,
    "h": 255.8
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#2C70C5
secondary
#CEAB7F
accent
#9D41E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2C70C5

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

Preview Lab → · Contrast checker → · Palette generator →

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