#2C70D0#2C70D0

#2C70D0 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.163 H 257.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2C70D0
RGBrgb(44, 112, 208)
HSLhsl(215, 65%, 49%)
HSVhsv(215, 79%, 82%)
CMYKcmyk(78.8%, 46.2%, 0%, 18.4%)
CIE-LABlab(47.85, 13.05, -55.62)
CIE-LCHlch(47.85, 57.13, 283.21°)
OKLaboklab(55.43% -0.0343 -0.1597)
OKLCHoklch(55.43% 0.163 257.9)
XYZxyz(18.2139, 16.6757, 61.9211)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C70D0 #D08C2C
analogous
#2CC2D0 #2C70D0 #3A2CD0
triadic
#2C70D0 #D02C70 #70D02C
tetradic
#2C70D0 #D02CC2 #D08C2C #2CD03A
square
#2C70D0 #D02CC2 #D08C2C #2CD03A
split-complementary
#2C70D0 #D03A2C #C2D02C
monochromatic
#173A6B #21559D #2C70D0 #5D92DD #8FB4E7

Accessibility & contrast

On white

4.84
#2C70D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2C70D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C70D0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C70D0#FFFFFF#000000##FFFFFF
##2C70D01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D4
Deuteranopia (green-blind)
#0F6BCE
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c70d0;
/* rgb */ color: rgb(44, 112, 208);
/* oklch */ color: oklch(55.4% 0.163 257.9);
Tailwind
colors: {
  custom: {
    50: '#7e98df',
    500: '#2c70d0',
    950: '#000000',
  },
}
SCSS
$custom: #2c70d0;
$custom-light: #7e98df;
$custom-dark: #000000;
JSON
{
  "hex": "#2c70d0",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 208
  },
  "hsl": {
    "h": 215.122,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5543,
    "c": 0.16332,
    "h": 257.9
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#2C70D0
secondary
#D2B286
accent
#A240E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2C70D0

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

Preview Lab → · Contrast checker → · Palette generator →

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