#2F70BC#2F70BC

#2F70BC is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.2% C 0.136 H 254.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F70BC
RGBrgb(47, 112, 188)
HSLhsl(212, 60%, 46%)
HSVhsv(212, 75%, 74%)
CMYKcmyk(75%, 40.4%, 0%, 26.3%)
CIE-LABlab(46.74, 5.88, -45.90)
CIE-LCHlch(46.74, 46.27, 277.30°)
OKLaboklab(54.21% -0.0365 -0.1311)
OKLCHoklch(54.21% 0.136 254.4)
XYZxyz(16.0402, 15.8217, 49.7757)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70BC #BC7B2F
analogous
#2FB6BC #2F70BC #342FBC
triadic
#2F70BC #BC2F70 #70BC2F
tetradic
#2F70BC #BC2FB6 #BC7B2F #2FBC34
square
#2F70BC #BC2FB6 #BC7B2F #2FBC34
split-complementary
#2F70BC #BC342F #B6BC2F
monochromatic
#17365A #23538B #2F70BC #548FD4 #85AFE0

Accessibility & contrast

On white

5.04
#2F70BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F70BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70BC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70BC#FFFFFF#000000##FFFFFF
##2F70BC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BF
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f70bc;
/* rgb */ color: rgb(47, 112, 188);
/* oklch */ color: oklch(54.2% 0.136 254.4);
Tailwind
colors: {
  custom: {
    50: '#7b98d0',
    500: '#2f70bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f70bc;
$custom-light: #7b98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70bc",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 212.34,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54209,
    "c": 0.13607,
    "h": 254.4
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#2F70BC
secondary
#CAA67D
accent
#9A45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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