#2F70A3#2F70A3

#2F70A3 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.7% C 0.104 H 245.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F70A3
RGBrgb(47, 112, 163)
HSLhsl(206, 55%, 41%)
HSVhsv(206, 71%, 64%)
CMYKcmyk(71.2%, 31.3%, 0%, 36.1%)
CIE-LABlab(45.41, -3.33, -33.43)
CIE-LCHlch(45.41, 33.59, 264.31°)
OKLaboklab(52.73% -0.0433 -0.0946)
OKLCHoklch(52.73% 0.104 245.4)
XYZxyz(13.5748, 14.8355, 36.7914)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70A3 #A3622F
analogous
#2FA39C #2F70A3 #2F36A3
triadic
#2F70A3 #A32F70 #70A32F
tetradic
#2F70A3 #9C2FA3 #A3622F #36A32F
square
#2F70A3 #9C2FA3 #A3622F #36A32F
split-complementary
#2F70A3 #A32F36 #A39C2F
monochromatic
#142F44 #214F73 #2F70A3 #4690CA #75ACD7

Accessibility & contrast

On white

5.29
#2F70A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F70A3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70A3#FFFFFF#000000##FFFFFF
##2F70A31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A5
Deuteranopia (green-blind)
#4967A2
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f70a3;
/* rgb */ color: rgb(47, 112, 163);
/* oklch */ color: oklch(52.7% 0.104 245.4);
Tailwind
colors: {
  custom: {
    50: '#7698be',
    500: '#2f70a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f70a3;
$custom-light: #7698be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70a3",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 163
  },
  "hsl": {
    "h": 206.379,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.10403,
    "h": 245.4
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#2F70A3
secondary
#BF926F
accent
#8B49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2F70A3

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

Preview Lab → · Contrast checker → · Palette generator →

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