#2C70C9#2C70C9

#2C70C9 is a mid, vivid cyan. Relative luminance 0.163; OKLCH L 55.0% C 0.154 H 256.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2C70C9
RGBrgb(44, 112, 201)
HSLhsl(214, 64%, 48%)
HSVhsv(214, 78%, 79%)
CMYKcmyk(78.1%, 44.3%, 0%, 21.2%)
CIE-LABlab(47.42, 10.41, -52.31)
CIE-LCHlch(47.42, 53.33, 281.25°)
OKLaboklab(54.96% -0.0356 -0.1499)
OKLCHoklch(54.96% 0.154 256.6)
XYZxyz(17.3716, 16.3388, 57.4852)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70C9 #C9852C
analogous
#2CBEC9 #2C70C9 #372CC9
triadic
#2C70C9 #C92C70 #70C92C
tetradic
#2C70C9 #C92CBE #C9852C #2CC937
square
#2C70C9 #C92CBE #C9852C #2CC937
split-complementary
#2C70C9 #C9372C #BEC92C
monochromatic
#163865 #215497 #2C70C9 #5890DA #8AB2E5

Accessibility & contrast

On white

4.92
#2C70C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2C70C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70C9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70C9#FFFFFF#000000##FFFFFF
##2C70C91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c70c9;
/* rgb */ color: rgb(44, 112, 201);
/* oklch */ color: oklch(55.0% 0.154 256.6);
Tailwind
colors: {
  custom: {
    50: '#7c98da',
    500: '#2c70c9',
    950: '#000000',
  },
}
SCSS
$custom: #2c70c9;
$custom-light: #7c98da;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70c9",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 201
  },
  "hsl": {
    "h": 214.013,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.15411,
    "h": 256.6
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#2C70C9
secondary
#CFAE82
accent
#9F41E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2C70C9

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

Preview Lab → · Contrast checker → · Palette generator →

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