#2A70B6#2A70B6

#2A70B6 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.130 H 251.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A70B6
RGBrgb(42, 112, 182)
HSLhsl(210, 63%, 44%)
HSVhsv(210, 77%, 71%)
CMYKcmyk(76.9%, 38.5%, 0%, 28.6%)
CIE-LABlab(46.25, 3.00, -43.20)
CIE-LCHlch(46.25, 43.31, 273.98°)
OKLaboklab(53.68% -0.041 -0.1232)
OKLCHoklch(53.68% 0.13 251.6)
XYZxyz(15.1893, 15.4562, 46.4297)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70B6 #B6702A
analogous
#2AB6B6 #2A70B6 #2A2AB6
triadic
#2A70B6 #B62A70 #70B62A
tetradic
#2A70B6 #B62AB6 #B6702A #2AB62A
square
#2A70B6 #B62AB6 #B6702A #2AB62A
split-complementary
#2A70B6 #B62A2A #B6B62A
monochromatic
#133353 #1F5184 #2A70B6 #488FD5 #7AADE0

Accessibility & contrast

On white

5.13
#2A70B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A70B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70B6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70B6#FFFFFF#000000##FFFFFF
##2A70B61.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F75B9
Deuteranopia (green-blind)
#3968B5
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a70b6;
/* rgb */ color: rgb(42, 112, 182);
/* oklch */ color: oklch(53.7% 0.130 251.6);
Tailwind
colors: {
  custom: {
    50: '#7898cc',
    500: '#2a70b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a70b6;
$custom-light: #7898cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70b6",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 182
  },
  "hsl": {
    "h": 210,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.12985,
    "h": 251.6
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#2A70B6
secondary
#C89E73
accent
#9442E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A70B6

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

Preview Lab → · Contrast checker → · Palette generator →

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