#2A70AB#2A70AB

#2A70AB is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.116 H 247.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2A70AB
RGBrgb(42, 112, 171)
HSLhsl(207, 61%, 42%)
HSVhsv(207, 75%, 67%)
CMYKcmyk(75.4%, 34.5%, 0%, 32.9%)
CIE-LABlab(45.66, -1.11, -37.73)
CIE-LCHlch(45.66, 37.75, 268.31°)
OKLaboklab(53.02% -0.0439 -0.1072)
OKLCHoklch(53.02% 0.116 247.7)
XYZxyz(14.0969, 15.0192, 40.6762)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70AB #AB652A
analogous
#2AABA6 #2A70AB #2A30AB
triadic
#2A70AB #AB2A70 #70AB2A
tetradic
#2A70AB #A62AAB #AB652A #30AB2A
square
#2A70AB #A62AAB #AB652A #30AB2A
split-complementary
#2A70AB #AB2A30 #ABA62A
monochromatic
#123049 #1E507A #2A70AB #428FD1 #73ACDD

Accessibility & contrast

On white

5.24
#2A70AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2A70AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70AB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70AB#FFFFFF#000000##FFFFFF
##2A70AB1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#4267AA
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a70ab;
/* rgb */ color: rgb(42, 112, 171);
/* oklch */ color: oklch(53.0% 0.116 247.7);
Tailwind
colors: {
  custom: {
    50: '#7698c4',
    500: '#2a70ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a70ab;
$custom-light: #7698c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70ab",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 207.442,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.11585,
    "h": 247.7
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#2A70AB
secondary
#C4956D
accent
#8D44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2A70AB

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

Preview Lab → · Contrast checker → · Palette generator →

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