#2C70BF#2C70BF

#2C70BF is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.141 H 254.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2C70BF
RGBrgb(44, 112, 191)
HSLhsl(212, 63%, 46%)
HSVhsv(212, 77%, 75%)
CMYKcmyk(77%, 41.4%, 0%, 25.1%)
CIE-LABlab(46.82, 6.63, -47.51)
CIE-LCHlch(46.82, 47.97, 277.95°)
OKLaboklab(54.3% -0.0377 -0.1358)
OKLCHoklch(54.3% 0.141 254.5)
XYZxyz(16.2333, 15.8835, 51.4904)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70BF #BF7B2C
analogous
#2CB9BF #2C70BF #312CBF
triadic
#2C70BF #BF2C70 #70BF2C
tetradic
#2C70BF #BF2CB9 #BF7B2C #2CBF31
square
#2C70BF #BF2CB9 #BF7B2C #2CBF31
split-complementary
#2C70BF #BF312C #B9BF2C
monochromatic
#15365C #21538D #2C70BF #518FD7 #83AFE2

Accessibility & contrast

On white

5.03
#2C70BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2C70BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70BF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70BF#FFFFFF#000000##FFFFFF
##2C70BF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C2
Deuteranopia (green-blind)
#3069BD
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c70bf;
/* rgb */ color: rgb(44, 112, 191);
/* oklch */ color: oklch(54.3% 0.141 254.5);
Tailwind
colors: {
  custom: {
    50: '#7a98d3',
    500: '#2c70bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c70bf;
$custom-light: #7a98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70bf",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 212.245,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.14096,
    "h": 254.5
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#2C70BF
secondary
#CCA67B
accent
#9A42E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2C70BF

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

Preview Lab → · Contrast checker → · Palette generator →

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