#2A70B9#2A70B9

#2A70B9 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.9% C 0.134 H 252.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2A70B9
RGBrgb(42, 112, 185)
HSLhsl(211, 63%, 45%)
HSVhsv(211, 77%, 73%)
CMYKcmyk(77.3%, 39.5%, 0%, 27.5%)
CIE-LABlab(46.42, 4.13, -44.68)
CIE-LCHlch(46.42, 44.87, 275.28°)
OKLaboklab(53.86% -0.0402 -0.1275)
OKLCHoklch(53.86% 0.134 252.5)
XYZxyz(15.5027, 15.5815, 48.0800)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70B9 #B9732A
analogous
#2AB8B9 #2A70B9 #2B2AB9
triadic
#2A70B9 #B92A70 #70B92A
tetradic
#2A70B9 #B92AB8 #B9732A #2AB92B
square
#2A70B9 #B92AB8 #B9732A #2AB92B
split-complementary
#2A70B9 #B92B2A #B8B92A
monochromatic
#133455 #1F5287 #2A70B9 #4A8FD6 #7CAEE1

Accessibility & contrast

On white

5.10
#2A70B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2A70B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70B9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70B9#FFFFFF#000000##FFFFFF
##2A70B91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BC
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a70b9;
/* rgb */ color: rgb(42, 112, 185);
/* oklch */ color: oklch(53.9% 0.134 252.5);
Tailwind
colors: {
  custom: {
    50: '#7898ce',
    500: '#2a70b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a70b9;
$custom-light: #7898ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70b9",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 185
  },
  "hsl": {
    "h": 210.629,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53863,
    "c": 0.13374,
    "h": 252.5
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#2A70B9
secondary
#CAA075
accent
#9642E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2A70B9

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

Preview Lab → · Contrast checker → · Palette generator →

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