#2C70BD#2C70BD

#2C70BD is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.138 H 254.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2C70BD
RGBrgb(44, 112, 189)
HSLhsl(212, 62%, 46%)
HSVhsv(212, 77%, 74%)
CMYKcmyk(76.7%, 40.7%, 0%, 25.9%)
CIE-LABlab(46.71, 5.88, -46.53)
CIE-LCHlch(46.71, 46.90, 277.20°)
OKLaboklab(54.18% -0.0381 -0.133)
OKLCHoklch(54.18% 0.138 254)
XYZxyz(16.0148, 15.7961, 50.3392)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70BD #BD792C
analogous
#2CB8BD #2C70BD #302CBD
triadic
#2C70BD #BD2C70 #70BD2C
tetradic
#2C70BD #BD2CB8 #BD792C #2CBD30
square
#2C70BD #BD2CB8 #BD792C #2CBD30
split-complementary
#2C70BD #BD302C #B8BD2C
monochromatic
#15355A #20538B #2C70BD #508FD6 #82AFE2

Accessibility & contrast

On white

5.05
#2C70BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2C70BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70BD#FFFFFF#000000##FFFFFF
##2C70BD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C0
Deuteranopia (green-blind)
#3369BB
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c70bd;
/* rgb */ color: rgb(44, 112, 189);
/* oklch */ color: oklch(54.2% 0.138 254.0);
Tailwind
colors: {
  custom: {
    50: '#7a98d1',
    500: '#2c70bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c70bd;
$custom-light: #7a98d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70bd",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 211.862,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.13834,
    "h": 254
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#2C70BD
secondary
#CBA57A
accent
#9942E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2C70BD

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

Preview Lab → · Contrast checker → · Palette generator →

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