#2F70B5#2F70B5

#2F70B5 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.8% C 0.127 H 252.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F70B5
RGBrgb(47, 112, 181)
HSLhsl(211, 59%, 45%)
HSVhsv(211, 74%, 71%)
CMYKcmyk(74%, 38.1%, 0%, 29%)
CIE-LABlab(46.35, 3.27, -42.46)
CIE-LCHlch(46.35, 42.59, 274.41°)
OKLaboklab(53.78% -0.0382 -0.121)
OKLCHoklch(53.78% 0.127 252.5)
XYZxyz(15.3038, 15.5272, 45.8976)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70B5 #B5742F
analogous
#2FB3B5 #2F70B5 #312FB5
triadic
#2F70B5 #B52F70 #70B52F
tetradic
#2F70B5 #B52FB3 #B5742F #2FB531
square
#2F70B5 #B52FB3 #B5742F #2FB531
split-complementary
#2F70B5 #B5312F #B3B52F
monochromatic
#163454 #225284 #2F70B5 #508FD1 #80AEDE

Accessibility & contrast

On white

5.11
#2F70B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F70B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70B5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70B5#FFFFFF#000000##FFFFFF
##2F70B51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5075B8
Deuteranopia (green-blind)
#3C68B4
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f70b5;
/* rgb */ color: rgb(47, 112, 181);
/* oklch */ color: oklch(53.8% 0.127 252.5);
Tailwind
colors: {
  custom: {
    50: '#7998cb',
    500: '#2f70b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f70b5;
$custom-light: #7998cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70b5",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 181
  },
  "hsl": {
    "h": 210.896,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.12689,
    "h": 252.5
  },
  "luminance": 0.15529
}

Semantic roles & 50–950 ramp

primary
#2F70B5
secondary
#C7A179
accent
#9646E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F70B5

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

Preview Lab → · Contrast checker → · Palette generator →

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