#2C70BB#2C70BB

#2C70BB is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.136 H 253.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2C70BB
RGBrgb(44, 112, 187)
HSLhsl(211, 62%, 45%)
HSVhsv(211, 76%, 73%)
CMYKcmyk(76.5%, 40.1%, 0%, 26.7%)
CIE-LABlab(46.59, 5.13, -45.56)
CIE-LCHlch(46.59, 45.85, 276.42°)
OKLaboklab(54.05% -0.0386 -0.1301)
OKLCHoklch(54.05% 0.136 253.5)
XYZxyz(15.7992, 15.7098, 49.2037)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70BB #BB772C
analogous
#2CB7BB #2C70BB #302CBB
triadic
#2C70BB #BB2C70 #70BB2C
tetradic
#2C70BB #BB2CB7 #BB772C #2CBB30
square
#2C70BB #BB2CB7 #BB772C #2CBB30
split-complementary
#2C70BB #BB302C #B7BB2C
monochromatic
#153558 #205289 #2C70BB #4F8FD6 #80AEE1

Accessibility & contrast

On white

5.07
#2C70BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2C70BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70BB#FFFFFF#000000##FFFFFF
##2C70BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BE
Deuteranopia (green-blind)
#3568BA
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c70bb;
/* rgb */ color: rgb(44, 112, 187);
/* oklch */ color: oklch(54.0% 0.136 253.5);
Tailwind
colors: {
  custom: {
    50: '#7998d0',
    500: '#2c70bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c70bb;
$custom-light: #7998d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70bb",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 211.469,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.13572,
    "h": 253.5
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#2C70BB
secondary
#CAA379
accent
#9843E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2C70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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