#2F70B8#2F70B8

#2F70B8 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.131 H 253.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F70B8
RGBrgb(47, 112, 184)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 74%, 72%)
CMYKcmyk(74.5%, 39.1%, 0%, 27.8%)
CIE-LABlab(46.51, 4.39, -43.94)
CIE-LCHlch(46.51, 44.16, 275.70°)
OKLaboklab(53.96% -0.0375 -0.1253)
OKLCHoklch(53.96% 0.131 253.3)
XYZxyz(15.6150, 15.6516, 47.5362)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70B8 #B8772F
analogous
#2FB4B8 #2F70B8 #332FB8
triadic
#2F70B8 #B82F70 #70B82F
tetradic
#2F70B8 #B82FB4 #B8772F #2FB833
square
#2F70B8 #B82FB4 #B8772F #2FB833
split-complementary
#2F70B8 #B8332F #B4B82F
monochromatic
#163557 #235287 #2F70B8 #528FD3 #82AEDF

Accessibility & contrast

On white

5.08
#2F70B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2F70B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70B8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70B8#FFFFFF#000000##FFFFFF
##2F70B81.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BB
Deuteranopia (green-blind)
#3968B7
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f70b8;
/* rgb */ color: rgb(47, 112, 184);
/* oklch */ color: oklch(54.0% 0.131 253.3);
Tailwind
colors: {
  custom: {
    50: '#7a98ce',
    500: '#2f70b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f70b8;
$custom-light: #7a98ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70b8",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 184
  },
  "hsl": {
    "h": 211.533,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.13081,
    "h": 253.3
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#2F70B8
secondary
#C8A37B
accent
#9845E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F70B8

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

Preview Lab → · Contrast checker → · Palette generator →

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