#2F70B2#2F70B2

#2F70B2 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.123 H 251.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F70B2
RGBrgb(47, 112, 178)
HSLhsl(210, 58%, 44%)
HSVhsv(210, 74%, 70%)
CMYKcmyk(73.6%, 37.1%, 0%, 30.2%)
CIE-LABlab(46.18, 2.16, -40.98)
CIE-LCHlch(46.18, 41.03, 273.02°)
OKLaboklab(53.6% -0.039 -0.1166)
OKLCHoklch(53.6% 0.123 251.5)
XYZxyz(14.9993, 15.4054, 44.2939)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70B2 #B2712F
analogous
#2FB2B2 #2F70B2 #302FB2
triadic
#2F70B2 #B22F70 #70B22F
tetradic
#2F70B2 #B22FB2 #B2712F #2FB230
square
#2F70B2 #B22FB2 #B2712F #2FB230
split-complementary
#2F70B2 #B2302F #B2B22F
monochromatic
#153351 #225282 #2F70B2 #4E8FD0 #7EADDD

Accessibility & contrast

On white

5.15
#2F70B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F70B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70B2#FFFFFF#000000##FFFFFF
##2F70B21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f70b2;
/* rgb */ color: rgb(47, 112, 178);
/* oklch */ color: oklch(53.6% 0.123 251.5);
Tailwind
colors: {
  custom: {
    50: '#7998c9',
    500: '#2f70b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f70b2;
$custom-light: #7998c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70b2",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 210.229,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.12299,
    "h": 251.5
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#2F70B2
secondary
#C69F77
accent
#9446E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2F70B2

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

Preview Lab → · Contrast checker → · Palette generator →

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