#2C70B2#2C70B2

#2C70B2 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.124 H 250.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2C70B2
RGBrgb(44, 112, 178)
HSLhsl(210, 60%, 44%)
HSVhsv(210, 75%, 70%)
CMYKcmyk(75.3%, 37.1%, 0%, 30.2%)
CIE-LABlab(46.09, 1.76, -41.13)
CIE-LCHlch(46.09, 41.17, 272.44°)
OKLaboklab(53.5% -0.0408 -0.1171)
OKLCHoklch(53.5% 0.124 250.8)
XYZxyz(14.8657, 15.3365, 44.2876)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70B2 #B26E2C
analogous
#2CB2B1 #2C70B2 #2C2DB2
triadic
#2C70B2 #B22C70 #70B22C
tetradic
#2C70B2 #B12CB2 #B26E2C #2DB22C
square
#2C70B2 #B12CB2 #B26E2C #2DB22C
split-complementary
#2C70B2 #B22C2D #B2B12C
monochromatic
#143250 #205181 #2C70B2 #498FD2 #7AADDE

Accessibility & contrast

On white

5.16
#2C70B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2C70B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70B2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70B2#FFFFFF#000000##FFFFFF
##2C70B21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#3D68B1
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c70b2;
/* rgb */ color: rgb(44, 112, 178);
/* oklch */ color: oklch(53.5% 0.124 250.8);
Tailwind
colors: {
  custom: {
    50: '#7898c9',
    500: '#2c70b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c70b2;
$custom-light: #7898c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70b2",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 209.552,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.12404,
    "h": 250.8
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#2C70B2
secondary
#C69C73
accent
#9344E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C70B2

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

Preview Lab → · Contrast checker → · Palette generator →

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