#2C70A8#2C70A8

#2C70A8 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.111 H 246.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2C70A8
RGBrgb(44, 112, 168)
HSLhsl(207, 58%, 42%)
HSVhsv(207, 74%, 66%)
CMYKcmyk(73.8%, 33.3%, 0%, 34.1%)
CIE-LABlab(45.56, -1.95, -36.12)
CIE-LCHlch(45.56, 36.17, 266.91°)
OKLaboklab(52.91% -0.0436 -0.1025)
OKLCHoklch(52.91% 0.111 246.9)
XYZxyz(13.8981, 14.9494, 39.1912)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70A8 #A8642C
analogous
#2CA8A2 #2C70A8 #2C32A8
triadic
#2C70A8 #A82C70 #70A82C
tetradic
#2C70A8 #A22CA8 #A8642C #32A82C
square
#2C70A8 #A22CA8 #A8642C #32A82C
split-complementary
#2C70A8 #A82C32 #A8A22C
monochromatic
#132F47 #1F5078 #2C70A8 #438FCE #74ACDB

Accessibility & contrast

On white

5.26
#2C70A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2C70A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70A8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70A8#FFFFFF#000000##FFFFFF
##2C70A81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5672AA
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c70a8;
/* rgb */ color: rgb(44, 112, 168);
/* oklch */ color: oklch(52.9% 0.111 246.9);
Tailwind
colors: {
  custom: {
    50: '#7698c2',
    500: '#2c70a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c70a8;
$custom-light: #7698c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70a8",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 168
  },
  "hsl": {
    "h": 207.097,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.11138,
    "h": 246.9
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#2C70A8
secondary
#C2946E
accent
#8C46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2C70A8

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

Preview Lab → · Contrast checker → · Palette generator →

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