#2F70BA#2F70BA

#2F70BA is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.133 H 253.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F70BA
RGBrgb(47, 112, 186)
HSLhsl(212, 60%, 46%)
HSVhsv(212, 75%, 73%)
CMYKcmyk(74.7%, 39.8%, 0%, 27.1%)
CIE-LABlab(46.63, 5.13, -44.92)
CIE-LCHlch(46.63, 45.21, 276.52°)
OKLaboklab(54.08% -0.037 -0.1282)
OKLCHoklch(54.08% 0.133 253.9)
XYZxyz(15.8261, 15.7361, 48.6481)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70BA #BA792F
analogous
#2FB6BA #2F70BA #332FBA
triadic
#2F70BA #BA2F70 #70BA2F
tetradic
#2F70BA #BA2FB6 #BA792F #2FBA33
square
#2F70BA #BA2FB6 #BA792F #2FBA33
split-complementary
#2F70BA #BA332F #B6BA2F
monochromatic
#163558 #235389 #2F70BA #538FD3 #84AFE0

Accessibility & contrast

On white

5.06
#2F70BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2F70BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70BA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70BA#FFFFFF#000000##FFFFFF
##2F70BA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BD
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f70ba;
/* rgb */ color: rgb(47, 112, 186);
/* oklch */ color: oklch(54.1% 0.133 253.9);
Tailwind
colors: {
  custom: {
    50: '#7a98cf',
    500: '#2f70ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f70ba;
$custom-light: #7a98cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70ba",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 211.942,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54084,
    "c": 0.13344,
    "h": 253.9
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#2F70BA
secondary
#C9A57C
accent
#9945E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2F70BA

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

Preview Lab → · Contrast checker → · Palette generator →

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