#2F70A6#2F70A6

#2F70A6 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.9% C 0.108 H 246.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F70A6
RGBrgb(47, 112, 166)
HSLhsl(207, 56%, 42%)
HSVhsv(207, 72%, 65%)
CMYKcmyk(71.7%, 32.5%, 0%, 34.9%)
CIE-LABlab(45.56, -2.24, -34.95)
CIE-LCHlch(45.56, 35.02, 266.33°)
OKLaboklab(52.9% -0.0424 -0.099)
OKLCHoklch(52.9% 0.108 246.8)
XYZxyz(13.8468, 14.9443, 38.2238)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70A6 #A6652F
analogous
#2FA6A1 #2F70A6 #2F34A6
triadic
#2F70A6 #A62F70 #70A62F
tetradic
#2F70A6 #A12FA6 #A6652F #34A62F
square
#2F70A6 #A12FA6 #A6652F #34A62F
split-complementary
#2F70A6 #A62F34 #A6A12F
monochromatic
#143047 #215076 #2F70A6 #478FCB #77ACD8

Accessibility & contrast

On white

5.26
#2F70A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F70A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70A6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70A6#FFFFFF#000000##FFFFFF
##2F70A61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f70a6;
/* rgb */ color: rgb(47, 112, 166);
/* oklch */ color: oklch(52.9% 0.108 246.8);
Tailwind
colors: {
  custom: {
    50: '#7698c0',
    500: '#2f70a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f70a6;
$custom-light: #7698c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70a6",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 166
  },
  "hsl": {
    "h": 207.227,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.10772,
    "h": 246.8
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#2F70A6
secondary
#C19570
accent
#8D49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F70A6

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

Preview Lab → · Contrast checker → · Palette generator →

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