#2C70A2#2C70A2

#2C70A2 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.104 H 244.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2C70A2
RGBrgb(44, 112, 162)
HSLhsl(205, 57%, 40%)
HSVhsv(205, 73%, 64%)
CMYKcmyk(72.8%, 30.9%, 0%, 36.5%)
CIE-LABlab(45.26, -4.15, -33.07)
CIE-LCHlch(45.26, 33.33, 262.85°)
OKLaboklab(52.57% -0.0455 -0.0936)
OKLCHoklch(52.57% 0.104 244.1)
XYZxyz(13.3520, 14.7310, 36.3151)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70A2 #A25E2C
analogous
#2CA299 #2C70A2 #2C35A2
triadic
#2C70A2 #A22C70 #70A22C
tetradic
#2C70A2 #992CA2 #A25E2C #35A22C
square
#2C70A2 #992CA2 #A25E2C #35A22C
split-complementary
#2C70A2 #A22C35 #A2992C
monochromatic
#122D42 #1F4F72 #2C70A2 #4090CB #70ACD8

Accessibility & contrast

On white

5.32
#2C70A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2C70A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70A2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70A2#FFFFFF#000000##FFFFFF
##2C70A21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c70a2;
/* rgb */ color: rgb(44, 112, 162);
/* oklch */ color: oklch(52.6% 0.104 244.1);
Tailwind
colors: {
  custom: {
    50: '#7598be',
    500: '#2c70a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c70a2;
$custom-light: #7598be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70a2",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 205.424,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.10405,
    "h": 244.1
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#2C70A2
secondary
#BF8E6A
accent
#8847E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2C70A2

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

Preview Lab → · Contrast checker → · Palette generator →

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