#2D70BF#2D70BF

#2D70BF is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.141 H 254.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2D70BF
RGBrgb(45, 112, 191)
HSLhsl(212, 62%, 46%)
HSVhsv(212, 76%, 75%)
CMYKcmyk(76.4%, 41.4%, 0%, 25.1%)
CIE-LABlab(46.85, 6.75, -47.46)
CIE-LCHlch(46.85, 47.93, 278.10°)
OKLaboklab(54.33% -0.0371 -0.1357)
OKLCHoklch(54.33% 0.141 254.7)
XYZxyz(16.2768, 15.9059, 51.4924)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70BF #BF7C2D
analogous
#2DB9BF #2D70BF #332DBF
triadic
#2D70BF #BF2D70 #70BF2D
tetradic
#2D70BF #BF2DB9 #BF7C2D #2DBF33
square
#2D70BF #BF2DB9 #BF7C2D #2DBF33
split-complementary
#2D70BF #BF332D #B9BF2D
monochromatic
#16365C #21538D #2D70BF #538FD6 #84AFE2

Accessibility & contrast

On white

5.02
#2D70BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2D70BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70BF#FFFFFF#000000##FFFFFF
##2D70BF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C2
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d70bf;
/* rgb */ color: rgb(45, 112, 191);
/* oklch */ color: oklch(54.3% 0.141 254.7);
Tailwind
colors: {
  custom: {
    50: '#7b98d3',
    500: '#2d70bf',
    950: '#000000',
  },
}
SCSS
$custom: #2d70bf;
$custom-light: #7b98d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70bf",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 212.466,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.14065,
    "h": 254.7
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#2D70BF
secondary
#CBA77C
accent
#9B43E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D70BF

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

Preview Lab → · Contrast checker → · Palette generator →

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