#2F70A8#2F70A8

#2F70A8 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.110 H 247.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2F70A8
RGBrgb(47, 112, 168)
HSLhsl(208, 56%, 42%)
HSVhsv(208, 72%, 66%)
CMYKcmyk(72%, 33.3%, 0%, 34.1%)
CIE-LABlab(45.66, -1.52, -35.97)
CIE-LCHlch(45.66, 36.00, 267.59°)
OKLaboklab(53.01% -0.0418 -0.102)
OKLCHoklch(53.01% 0.11 247.7)
XYZxyz(14.0317, 15.0183, 39.1975)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70A8 #A8672F
analogous
#2FA8A4 #2F70A8 #2F33A8
triadic
#2F70A8 #A82F70 #70A82F
tetradic
#2F70A8 #A42FA8 #A8672F #33A82F
square
#2F70A8 #A42FA8 #A8672F #33A82F
split-complementary
#2F70A8 #A82F33 #A8A42F
monochromatic
#143048 #225078 #2F70A8 #488FCC #78ACD9

Accessibility & contrast

On white

5.24
#2F70A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2F70A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70A8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70A8#FFFFFF#000000##FFFFFF
##2F70A81.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772AA
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f70a8;
/* rgb */ color: rgb(47, 112, 168);
/* oklch */ color: oklch(53.0% 0.110 247.7);
Tailwind
colors: {
  custom: {
    50: '#7798c2',
    500: '#2f70a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f70a8;
$custom-light: #7798c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70a8",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 168
  },
  "hsl": {
    "h": 207.769,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.11022,
    "h": 247.7
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#2F70A8
secondary
#C19671
accent
#8E48E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2F70A8

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

Preview Lab → · Contrast checker → · Palette generator →

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