#2D70BB#2D70BB

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

Color values

HEX#2D70BB
RGBrgb(45, 112, 187)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 73%)
CMYKcmyk(75.9%, 40.1%, 0%, 26.7%)
CIE-LABlab(46.62, 5.25, -45.51)
CIE-LCHlch(46.62, 45.81, 276.58°)
OKLaboklab(54.08% -0.038 -0.13)
OKLCHoklch(54.08% 0.135 253.7)
XYZxyz(15.8427, 15.7323, 49.2057)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70BB #BB782D
analogous
#2DB7BB #2D70BB #312DBB
triadic
#2D70BB #BB2D70 #70BB2D
tetradic
#2D70BB #BB2DB7 #BB782D #2DBB31
square
#2D70BB #BB2DB7 #BB782D #2DBB31
split-complementary
#2D70BB #BB312D #B7BB2D
monochromatic
#153558 #21528A #2D70BB #508FD5 #82AFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D70BB#FFFFFF#000000##FFFFFF
##2D70BB1.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)
#4C76BE
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d70bb;
/* rgb */ color: rgb(45, 112, 187);
/* oklch */ color: oklch(54.1% 0.135 253.7);
Tailwind
colors: {
  custom: {
    50: '#7a98d0',
    500: '#2d70bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d70bb;
$custom-light: #7a98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70bb",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 211.69,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54081,
    "c": 0.1354,
    "h": 253.7
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#2D70BB
secondary
#CAA47A
accent
#9843E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2D70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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