#2F70BB#2F70BB

#2F70BB is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.135 H 254.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F70BB
RGBrgb(47, 112, 187)
HSLhsl(212, 60%, 46%)
HSVhsv(212, 75%, 73%)
CMYKcmyk(74.9%, 40.1%, 0%, 26.7%)
CIE-LABlab(46.68, 5.51, -45.41)
CIE-LCHlch(46.68, 45.74, 276.91°)
OKLaboklab(54.15% -0.0368 -0.1296)
OKLCHoklch(54.15% 0.135 254.2)
XYZxyz(15.9328, 15.7787, 49.2100)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70BB #BB7A2F
analogous
#2FB6BB #2F70BB #342FBB
triadic
#2F70BB #BB2F70 #70BB2F
tetradic
#2F70BB #BB2FB6 #BB7A2F #2FBB34
square
#2F70BB #BB2FB6 #BB7A2F #2FBB34
split-complementary
#2F70BB #BB342F #B6BB2F
monochromatic
#163559 #23538A #2F70BB #538FD4 #84AFE0

Accessibility & contrast

On white

5.05
#2F70BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F70BB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70BB#FFFFFF#000000##FFFFFF
##2F70BB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BE
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f70bb;
/* rgb */ color: rgb(47, 112, 187);
/* oklch */ color: oklch(54.1% 0.135 254.2);
Tailwind
colors: {
  custom: {
    50: '#7a98d0',
    500: '#2f70bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f70bb;
$custom-light: #7a98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70bb",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 212.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.13476,
    "h": 254.2
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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