#2A70B2#2A70B2

#2A70B2 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.125 H 250.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A70B2
RGBrgb(42, 112, 178)
HSLhsl(209, 62%, 43%)
HSVhsv(209, 76%, 70%)
CMYKcmyk(76.4%, 37.1%, 0%, 30.2%)
CIE-LABlab(46.03, 1.50, -41.23)
CIE-LCHlch(46.03, 41.25, 272.09°)
OKLaboklab(53.43% -0.042 -0.1174)
OKLCHoklch(53.43% 0.125 250.3)
XYZxyz(14.7819, 15.2932, 44.2837)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70B2 #B26C2A
analogous
#2AB2B0 #2A70B2 #2A2CB2
triadic
#2A70B2 #B22A70 #70B22A
tetradic
#2A70B2 #B02AB2 #B26C2A #2CB22A
square
#2A70B2 #B02AB2 #B26C2A #2CB22A
split-complementary
#2A70B2 #B22A2C #B2B02A
monochromatic
#13324F #1E5180 #2A70B2 #468FD3 #77ADDF

Accessibility & contrast

On white

5.17
#2A70B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2A70B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70B2#FFFFFF#000000##FFFFFF
##2A70B21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#3D67B1
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a70b2;
/* rgb */ color: rgb(42, 112, 178);
/* oklch */ color: oklch(53.4% 0.125 250.3);
Tailwind
colors: {
  custom: {
    50: '#7798c9',
    500: '#2a70b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a70b2;
$custom-light: #7798c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70b2",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 209.118,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.12471,
    "h": 250.3
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#2A70B2
secondary
#C79B71
accent
#9243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A70B2

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

Preview Lab → · Contrast checker → · Palette generator →

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