#2A70B5#2A70B5

#2A70B5 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.129 H 251.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A70B5
RGBrgb(42, 112, 181)
HSLhsl(210, 62%, 44%)
HSVhsv(210, 77%, 71%)
CMYKcmyk(76.8%, 38.1%, 0%, 29%)
CIE-LABlab(46.20, 2.63, -42.71)
CIE-LCHlch(46.20, 42.79, 273.52°)
OKLaboklab(53.62% -0.0412 -0.1218)
OKLCHoklch(53.62% 0.129 251.3)
XYZxyz(15.0864, 15.4150, 45.8874)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70B5 #B56F2A
analogous
#2AB5B4 #2A70B5 #2A2AB5
triadic
#2A70B5 #B52A70 #70B52A
tetradic
#2A70B5 #B42AB5 #B56F2A #2AB52A
square
#2A70B5 #B42AB5 #B56F2A #2AB52A
split-complementary
#2A70B5 #B52A2A #B5B42A
monochromatic
#133352 #1E5183 #2A70B5 #488FD4 #79ADE0

Accessibility & contrast

On white

5.14
#2A70B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2A70B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70B5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70B5#FFFFFF#000000##FFFFFF
##2A70B51.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B8
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a70b5;
/* rgb */ color: rgb(42, 112, 181);
/* oklch */ color: oklch(53.6% 0.129 251.3);
Tailwind
colors: {
  custom: {
    50: '#7898cb',
    500: '#2a70b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a70b5;
$custom-light: #7898cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70b5",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 181
  },
  "hsl": {
    "h": 209.784,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.12857,
    "h": 251.3
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#2A70B5
secondary
#C89D73
accent
#9342E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A70B5

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

Preview Lab → · Contrast checker → · Palette generator →

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