#2D70BC#2D70BC

#2D70BC is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.137 H 254.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D70BC
RGBrgb(45, 112, 188)
HSLhsl(212, 61%, 46%)
HSVhsv(212, 76%, 74%)
CMYKcmyk(76.1%, 40.4%, 0%, 26.3%)
CIE-LABlab(46.68, 5.63, -46.00)
CIE-LCHlch(46.68, 46.34, 276.97°)
OKLaboklab(54.14% -0.0378 -0.1314)
OKLCHoklch(54.14% 0.137 254)
XYZxyz(15.9501, 15.7752, 49.7715)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70BC #BC792D
analogous
#2DB7BC #2D70BC #312DBC
triadic
#2D70BC #BC2D70 #70BC2D
tetradic
#2D70BC #BC2DB7 #BC792D #2DBC31
square
#2D70BC #BC2DB7 #BC792D #2DBC31
split-complementary
#2D70BC #BC312D #B7BC2D
monochromatic
#153559 #21538B #2D70BC #518FD5 #82AFE1

Accessibility & contrast

On white

5.05
#2D70BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2D70BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70BC#FFFFFF#000000##FFFFFF
##2D70BC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BF
Deuteranopia (green-blind)
#3469BA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d70bc;
/* rgb */ color: rgb(45, 112, 188);
/* oklch */ color: oklch(54.1% 0.137 254.0);
Tailwind
colors: {
  custom: {
    50: '#7a98d0',
    500: '#2d70bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d70bc;
$custom-light: #7a98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70bc",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 211.888,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.13671,
    "h": 254
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#2D70BC
secondary
#CAA57B
accent
#9943E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2D70BC

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

Preview Lab → · Contrast checker → · Palette generator →

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