#2C70AB#2C70AB

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

Color values

HEX#2C70AB
RGBrgb(44, 112, 171)
HSLhsl(208, 59%, 42%)
HSVhsv(208, 74%, 67%)
CMYKcmyk(74.3%, 34.5%, 0%, 32.9%)
CIE-LABlab(45.72, -0.84, -37.63)
CIE-LCHlch(45.72, 37.64, 268.72°)
OKLaboklab(53.08% -0.0428 -0.1069)
OKLCHoklch(53.08% 0.115 248.2)
XYZxyz(14.1808, 15.0625, 40.6802)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70AB #AB672C
analogous
#2CABA7 #2C70AB #2C30AB
triadic
#2C70AB #AB2C70 #70AB2C
tetradic
#2C70AB #A72CAB #AB672C #30AB2C
square
#2C70AB #A72CAB #AB672C #30AB2C
split-complementary
#2C70AB #AB2C30 #ABA72C
monochromatic
#13304A #1F507A #2C70AB #458FCF #76ACDC

Accessibility & contrast

On white

5.23
#2C70AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2C70AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70AB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70AB#FFFFFF#000000##FFFFFF
##2C70AB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c70ab;
/* rgb */ color: rgb(44, 112, 171);
/* oklch */ color: oklch(53.1% 0.115 248.2);
Tailwind
colors: {
  custom: {
    50: '#7698c4',
    500: '#2c70ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c70ab;
$custom-light: #7698c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70ab",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 207.874,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.11513,
    "h": 248.2
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#2C70AB
secondary
#C3966F
accent
#8E46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2C70AB

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

Preview Lab → · Contrast checker → · Palette generator →

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