#2A70A4#2A70A4

#2A70A4 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.6% C 0.107 H 244.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2A70A4
RGBrgb(42, 112, 164)
HSLhsl(206, 59%, 40%)
HSVhsv(206, 74%, 64%)
CMYKcmyk(74.4%, 31.7%, 0%, 35.7%)
CIE-LABlab(45.30, -3.70, -34.19)
CIE-LCHlch(45.30, 34.39, 263.82°)
OKLaboklab(52.62% -0.046 -0.0969)
OKLCHoklch(52.62% 0.107 244.6)
XYZxyz(13.4473, 14.7594, 37.2549)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70A4 #A45E2A
analogous
#2AA49B #2A70A4 #2A33A4
triadic
#2A70A4 #A42A70 #70A42A
tetradic
#2A70A4 #9B2AA4 #A45E2A #33A42A
square
#2A70A4 #9B2AA4 #A45E2A #33A42A
split-complementary
#2A70A4 #A42A33 #A49B2A
monochromatic
#112D43 #1E4F73 #2A70A4 #3E90CD #6EACDA

Accessibility & contrast

On white

5.31
#2A70A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2A70A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70A4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70A4#FFFFFF#000000##FFFFFF
##2A70A41.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A6
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a70a4;
/* rgb */ color: rgb(42, 112, 164);
/* oklch */ color: oklch(52.6% 0.107 244.6);
Tailwind
colors: {
  custom: {
    50: '#7498bf',
    500: '#2a70a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a70a4;
$custom-light: #7498bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70a4",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 164
  },
  "hsl": {
    "h": 205.574,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.10725,
    "h": 244.6
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#2A70A4
secondary
#C18E69
accent
#8845E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A70A4

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

Preview Lab → · Contrast checker → · Palette generator →

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