#2F70AC#2F70AC

#2F70AC is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.115 H 249.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2F70AC
RGBrgb(47, 112, 172)
HSLhsl(209, 57%, 43%)
HSVhsv(209, 73%, 67%)
CMYKcmyk(72.7%, 34.9%, 0%, 32.5%)
CIE-LABlab(45.87, -0.05, -37.98)
CIE-LCHlch(45.87, 37.98, 269.92°)
OKLaboklab(53.24% -0.0406 -0.1079)
OKLCHoklch(53.24% 0.115 249.4)
XYZxyz(14.4100, 15.1696, 41.1903)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70AC #AC6B2F
analogous
#2FACA9 #2F70AC #2F31AC
triadic
#2F70AC #AC2F70 #70AC2F
tetradic
#2F70AC #A92FAC #AC6B2F #31AC2F
square
#2F70AC #A92FAC #AC6B2F #31AC2F
split-complementary
#2F70AC #AC2F31 #ACA92F
monochromatic
#15314C #22517C #2F70AC #4B8FCE #7BADDB

Accessibility & contrast

On white

5.21
#2F70AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F70AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70AC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70AC#FFFFFF#000000##FFFFFF
##2F70AC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#4367AB
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f70ac;
/* rgb */ color: rgb(47, 112, 172);
/* oklch */ color: oklch(53.2% 0.115 249.4);
Tailwind
colors: {
  custom: {
    50: '#7898c5',
    500: '#2f70ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f70ac;
$custom-light: #7898c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70ac",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 172
  },
  "hsl": {
    "h": 208.8,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.11528,
    "h": 249.4
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#2F70AC
secondary
#C39A74
accent
#9147E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F70AC

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

Preview Lab → · Contrast checker → · Palette generator →

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