#2A70BB#2A70BB

#2A70BB is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.136 H 253.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2A70BB
RGBrgb(42, 112, 187)
HSLhsl(211, 63%, 45%)
HSVhsv(211, 78%, 73%)
CMYKcmyk(77.5%, 40.1%, 0%, 26.7%)
CIE-LABlab(46.53, 4.89, -45.66)
CIE-LCHlch(46.53, 45.92, 276.11°)
OKLaboklab(53.99% -0.0397 -0.1304)
OKLCHoklch(53.99% 0.136 253)
XYZxyz(15.7153, 15.6666, 49.1998)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70BB #BB752A
analogous
#2AB9BB #2A70BB #2C2ABB
triadic
#2A70BB #BB2A70 #70BB2A
tetradic
#2A70BB #BB2AB9 #BB752A #2ABB2C
square
#2A70BB #BB2AB9 #BB752A #2ABB2C
split-complementary
#2A70BB #BB2C2A #B9BB2A
monochromatic
#143457 #1F5289 #2A70BB #4C8FD7 #7DAEE2

Accessibility & contrast

On white

5.08
#2A70BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A70BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70BB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70BB#FFFFFF#000000##FFFFFF
##2A70BB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BE
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a70bb;
/* rgb */ color: rgb(42, 112, 187);
/* oklch */ color: oklch(54.0% 0.136 253.0);
Tailwind
colors: {
  custom: {
    50: '#7998d0',
    500: '#2a70bb',
    950: '#000000',
  },
}
SCSS
$custom: #2a70bb;
$custom-light: #7998d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70bb",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 211.034,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.13634,
    "h": 253
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#2A70BB
secondary
#CAA276
accent
#9741E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2A70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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