#2A70B7#2A70B7

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

Color values

HEX#2A70B7
RGBrgb(42, 112, 183)
HSLhsl(210, 63%, 44%)
HSVhsv(210, 77%, 72%)
CMYKcmyk(77%, 38.8%, 0%, 28.2%)
CIE-LABlab(46.31, 3.38, -43.70)
CIE-LCHlch(46.31, 43.83, 274.42°)
OKLaboklab(53.74% -0.0407 -0.1247)
OKLCHoklch(53.74% 0.131 251.9)
XYZxyz(15.2930, 15.4977, 46.9759)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70B7 #B7712A
analogous
#2AB7B7 #2A70B7 #2B2AB7
triadic
#2A70B7 #B72A70 #70B72A
tetradic
#2A70B7 #B72AB7 #B7712A #2AB72B
square
#2A70B7 #B72AB7 #B7712A #2AB72B
split-complementary
#2A70B7 #B72B2A #B7B72A
monochromatic
#133353 #1F5285 #2A70B7 #498FD5 #7BADE1

Accessibility & contrast

On white

5.12
#2A70B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2A70B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70B7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70B7#FFFFFF#000000##FFFFFF
##2A70B71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BA
Deuteranopia (green-blind)
#3868B6
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a70b7;
/* rgb */ color: rgb(42, 112, 183);
/* oklch */ color: oklch(53.7% 0.131 251.9);
Tailwind
colors: {
  custom: {
    50: '#7898cd',
    500: '#2a70b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a70b7;
$custom-light: #7898cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70b7",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 210.213,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.13115,
    "h": 251.9
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A70B7

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

Preview Lab → · Contrast checker → · Palette generator →

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