#2C70C1#2C70C1

#2C70C1 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.144 H 255.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2C70C1
RGBrgb(44, 112, 193)
HSLhsl(213, 63%, 46%)
HSVhsv(213, 77%, 76%)
CMYKcmyk(77.2%, 42%, 0%, 24.3%)
CIE-LABlab(46.94, 7.39, -48.47)
CIE-LCHlch(46.94, 49.03, 278.66°)
OKLaboklab(54.43% -0.0372 -0.1387)
OKLCHoklch(54.43% 0.144 255)
XYZxyz(16.4549, 15.9721, 52.6574)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70C1 #C17D2C
analogous
#2CBBC1 #2C70C1 #322CC1
triadic
#2C70C1 #C12C70 #70C12C
tetradic
#2C70C1 #C12CBB #C17D2C #2CC132
square
#2C70C1 #C12CBB #C17D2C #2CC132
split-complementary
#2C70C1 #C1322C #BBC12C
monochromatic
#15365D #21538F #2C70C1 #538FD8 #84B0E3

Accessibility & contrast

On white

5.01
#2C70C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C70C1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70C1#FFFFFF#000000##FFFFFF
##2C70C11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4877C4
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c70c1;
/* rgb */ color: rgb(44, 112, 193);
/* oklch */ color: oklch(54.4% 0.144 255.0);
Tailwind
colors: {
  custom: {
    50: '#7b98d4',
    500: '#2c70c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c70c1;
$custom-light: #7b98d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70c1",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 193
  },
  "hsl": {
    "h": 212.617,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.14359,
    "h": 255
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C70C1

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

Preview Lab → · Contrast checker → · Palette generator →

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