#2C70AC#2C70AC

#2C70AC is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.116 H 248.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2C70AC
RGBrgb(44, 112, 172)
HSLhsl(208, 59%, 42%)
HSVhsv(208, 74%, 67%)
CMYKcmyk(74.4%, 34.9%, 0%, 32.5%)
CIE-LABlab(45.77, -0.47, -38.14)
CIE-LCHlch(45.77, 38.14, 269.29°)
OKLaboklab(53.14% -0.0425 -0.1084)
OKLCHoklch(53.14% 0.116 248.6)
XYZxyz(14.2764, 15.1007, 41.1841)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70AC #AC682C
analogous
#2CACA8 #2C70AC #2C30AC
triadic
#2C70AC #AC2C70 #70AC2C
tetradic
#2C70AC #A82CAC #AC682C #30AC2C
square
#2C70AC #A82CAC #AC682C #30AC2C
split-complementary
#2C70AC #AC2C30 #ACA82C
monochromatic
#13314B #20507B #2C70AC #468FD0 #76ACDC

Accessibility & contrast

On white

5.22
#2C70AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2C70AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70AC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70AC#FFFFFF#000000##FFFFFF
##2C70AC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c70ac;
/* rgb */ color: rgb(44, 112, 172);
/* oklch */ color: oklch(53.1% 0.116 248.6);
Tailwind
colors: {
  custom: {
    50: '#7698c5',
    500: '#2c70ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c70ac;
$custom-light: #7698c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70ac",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 172
  },
  "hsl": {
    "h": 208.125,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.11639,
    "h": 248.6
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#2C70AC
secondary
#C49770
accent
#8F45E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C70AC

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

Preview Lab → · Contrast checker → · Palette generator →

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