#2C70B7#2C70B7

#2C70B7 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.131 H 252.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2C70B7
RGBrgb(44, 112, 183)
HSLhsl(211, 61%, 45%)
HSVhsv(211, 76%, 72%)
CMYKcmyk(76%, 38.8%, 0%, 28.2%)
CIE-LABlab(46.37, 3.63, -43.60)
CIE-LCHlch(46.37, 43.75, 274.75°)
OKLaboklab(53.8% -0.0396 -0.1244)
OKLCHoklch(53.8% 0.131 252.4)
XYZxyz(15.3769, 15.5409, 46.9798)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70B7 #B7732C
analogous
#2CB6B7 #2C70B7 #2D2CB7
triadic
#2C70B7 #B72C70 #70B72C
tetradic
#2C70B7 #B72CB6 #B7732C #2CB72D
square
#2C70B7 #B72CB6 #B7732C #2CB72D
split-complementary
#2C70B7 #B72D2C #B6B72C
monochromatic
#143454 #205286 #2C70B7 #4C8FD4 #7EAEE0

Accessibility & contrast

On white

5.11
#2C70B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2C70B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70B7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70B7#FFFFFF#000000##FFFFFF
##2C70B71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#3968B6
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c70b7;
/* rgb */ color: rgb(44, 112, 183);
/* oklch */ color: oklch(53.8% 0.131 252.4);
Tailwind
colors: {
  custom: {
    50: '#7998cd',
    500: '#2c70b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c70b7;
$custom-light: #7998cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70b7",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 210.647,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.1305,
    "h": 252.4
  },
  "luminance": 0.15543
}

Semantic roles & 50–950 ramp

primary
#2C70B7
secondary
#C8A076
accent
#9643E4
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C70B7

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

Preview Lab → · Contrast checker → · Palette generator →

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