#2A70CD#2A70CD

#2A70CD is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.2% C 0.160 H 257.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A70CD
RGBrgb(42, 112, 205)
HSLhsl(214, 66%, 48%)
HSVhsv(214, 80%, 80%)
CMYKcmyk(79.5%, 45.4%, 0%, 19.6%)
CIE-LABlab(47.61, 11.71, -54.30)
CIE-LCHlch(47.61, 55.54, 282.17°)
OKLaboklab(55.17% -0.036 -0.1558)
OKLCHoklch(55.17% 0.16 257)
XYZxyz(17.7644, 16.4862, 59.9917)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70CD #CD872A
analogous
#2AC1CD #2A70CD #352ACD
triadic
#2A70CD #CD2A70 #70CD2A
tetradic
#2A70CD #CD2AC1 #CD872A #2ACD35
square
#2A70CD #CD2AC1 #CD872A #2ACD35
split-complementary
#2A70CD #CD352A #C1CD2A
monochromatic
#153867 #20549A #2A70CD #5891DD #8AB2E7

Accessibility & contrast

On white

4.89
#2A70CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2A70CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70CD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70CD#FFFFFF#000000##FFFFFF
##2A70CD1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#176ACB
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a70cd;
/* rgb */ color: rgb(42, 112, 205);
/* oklch */ color: oklch(55.2% 0.160 257.0);
Tailwind
colors: {
  custom: {
    50: '#7d98dd',
    500: '#2a70cd',
    950: '#000000',
  },
}
SCSS
$custom: #2a70cd;
$custom-light: #7d98dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70cd",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 214.233,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.15991,
    "h": 257
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#2A70CD
secondary
#D1AF82
accent
#A03FE9
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2A70CD

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

Preview Lab → · Contrast checker → · Palette generator →

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