#2F70A4#2F70A4

#2F70A4 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.105 H 245.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2F70A4
RGBrgb(47, 112, 164)
HSLhsl(207, 55%, 41%)
HSVhsv(207, 71%, 64%)
CMYKcmyk(71.3%, 31.7%, 0%, 35.7%)
CIE-LABlab(45.46, -2.97, -33.94)
CIE-LCHlch(45.46, 34.07, 265.00°)
OKLaboklab(52.79% -0.043 -0.0961)
OKLCHoklch(52.79% 0.105 245.9)
XYZxyz(13.6648, 14.8715, 37.2651)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70A4 #A4632F
analogous
#2FA49E #2F70A4 #2F36A4
triadic
#2F70A4 #A42F70 #70A42F
tetradic
#2F70A4 #9E2FA4 #A4632F #36A42F
square
#2F70A4 #9E2FA4 #A4632F #36A42F
split-complementary
#2F70A4 #A42F36 #A49E2F
monochromatic
#142F45 #215074 #2F70A4 #468FCA #76ACD8

Accessibility & contrast

On white

5.28
#2F70A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F70A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70A4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70A4#FFFFFF#000000##FFFFFF
##2F70A41.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A6
Deuteranopia (green-blind)
#4867A3
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f70a4;
/* rgb */ color: rgb(47, 112, 164);
/* oklch */ color: oklch(52.8% 0.105 245.9);
Tailwind
colors: {
  custom: {
    50: '#7698bf',
    500: '#2f70a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f70a4;
$custom-light: #7698bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70a4",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 164
  },
  "hsl": {
    "h": 206.667,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.10525,
    "h": 245.9
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#2F70A4
secondary
#C0936F
accent
#8C49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F70A4

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

Preview Lab → · Contrast checker → · Palette generator →

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