#2F70A1#2F70A1

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

Color values

HEX#2F70A1
RGBrgb(47, 112, 161)
HSLhsl(206, 55%, 41%)
HSVhsv(206, 71%, 63%)
CMYKcmyk(70.8%, 30.4%, 0%, 36.9%)
CIE-LABlab(45.31, -4.05, -32.40)
CIE-LCHlch(45.31, 32.66, 262.87°)
OKLaboklab(52.62% -0.0439 -0.0916)
OKLCHoklch(52.62% 0.102 244.4)
XYZxyz(13.3970, 14.7644, 35.8551)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70A1 #A1602F
analogous
#2FA199 #2F70A1 #2F37A1
triadic
#2F70A1 #A12F70 #70A12F
tetradic
#2F70A1 #992FA1 #A1602F #37A12F
square
#2F70A1 #992FA1 #A1602F #37A12F
split-complementary
#2F70A1 #A12F37 #A1992F
monochromatic
#132E42 #214F72 #2F70A1 #4590C9 #74ACD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F70A1#FFFFFF#000000##FFFFFF
##2F70A11.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)
#5A71A3
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f70a1;
/* rgb */ color: rgb(47, 112, 161);
/* oklch */ color: oklch(52.6% 0.102 244.4);
Tailwind
colors: {
  custom: {
    50: '#7698bd',
    500: '#2f70a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f70a1;
$custom-light: #7698bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70a1",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 161
  },
  "hsl": {
    "h": 205.789,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.1016,
    "h": 244.4
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

primary
#2F70A1
secondary
#BE906E
accent
#894ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2F70A1

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

Preview Lab → · Contrast checker → · Palette generator →

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