#2C70B8#2C70B8

#2C70B8 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.132 H 252.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2C70B8
RGBrgb(44, 112, 184)
HSLhsl(211, 61%, 45%)
HSVhsv(211, 76%, 72%)
CMYKcmyk(76.1%, 39.1%, 0%, 27.8%)
CIE-LABlab(46.42, 4.00, -44.09)
CIE-LCHlch(46.42, 44.27, 275.18°)
OKLaboklab(53.86% -0.0393 -0.1258)
OKLCHoklch(53.86% 0.132 252.6)
XYZxyz(15.4814, 15.5827, 47.5300)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70B8 #B8742C
analogous
#2CB6B8 #2C70B8 #2E2CB8
triadic
#2C70B8 #B82C70 #70B82C
tetradic
#2C70B8 #B82CB6 #B8742C #2CB82E
square
#2C70B8 #B82CB6 #B8742C #2CB82E
split-complementary
#2C70B8 #B82E2C #B6B82C
monochromatic
#143455 #205287 #2C70B8 #4D8FD4 #7EAEE0

Accessibility & contrast

On white

5.10
#2C70B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2C70B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70B8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70B8#FFFFFF#000000##FFFFFF
##2C70B81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BB
Deuteranopia (green-blind)
#3868B7
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c70b8;
/* rgb */ color: rgb(44, 112, 184);
/* oklch */ color: oklch(53.9% 0.132 252.6);
Tailwind
colors: {
  custom: {
    50: '#7998ce',
    500: '#2c70b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c70b8;
$custom-light: #7998ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70b8",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 184
  },
  "hsl": {
    "h": 210.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.13181,
    "h": 252.6
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#2C70B8
secondary
#C9A177
accent
#9643E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C70B8

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

Preview Lab → · Contrast checker → · Palette generator →

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