#2A70C4#2A70C4

#2A70C4 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.6% C 0.148 H 255.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A70C4
RGBrgb(42, 112, 196)
HSLhsl(213, 65%, 47%)
HSVhsv(213, 79%, 77%)
CMYKcmyk(78.6%, 42.9%, 0%, 23.1%)
CIE-LABlab(47.06, 8.29, -50.01)
CIE-LCHlch(47.06, 50.69, 279.42°)
OKLaboklab(54.57% -0.0378 -0.1432)
OKLCHoklch(54.57% 0.148 255.2)
XYZxyz(16.7091, 16.0641, 54.4339)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70C4 #C47E2A
analogous
#2ABDC4 #2A70C4 #312AC4
triadic
#2A70C4 #C42A70 #70C42A
tetradic
#2A70C4 #C42ABD #C47E2A #2AC431
square
#2A70C4 #C42ABD #C47E2A #2AC431
split-complementary
#2A70C4 #C4312A #BDC42A
monochromatic
#14365F #1F5392 #2A70C4 #518FDA #84B0E5

Accessibility & contrast

On white

4.98
#2A70C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2A70C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70C4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70C4#FFFFFF#000000##FFFFFF
##2A70C41.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4677C7
Deuteranopia (green-blind)
#2969C2
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a70c4;
/* rgb */ color: rgb(42, 112, 196);
/* oklch */ color: oklch(54.6% 0.148 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b98d6',
    500: '#2a70c4',
    950: '#000000',
  },
}
SCSS
$custom: #2a70c4;
$custom-light: #7b98d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70c4",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 196
  },
  "hsl": {
    "h": 212.727,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.1481,
    "h": 255.2
  },
  "luminance": 0.16066
}

Semantic roles & 50–950 ramp

primary
#2A70C4
secondary
#CEA97C
accent
#9C40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A70C4

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

Preview Lab → · Contrast checker → · Palette generator →

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