#2D70B1#2D70B1

#2D70B1 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.122 H 250.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2D70B1
RGBrgb(45, 112, 177)
HSLhsl(210, 59%, 44%)
HSVhsv(210, 75%, 69%)
CMYKcmyk(74.6%, 36.7%, 0%, 30.6%)
CIE-LABlab(46.07, 1.52, -40.58)
CIE-LCHlch(46.07, 40.61, 272.14°)
OKLaboklab(53.47% -0.0405 -0.1155)
OKLCHoklch(53.47% 0.122 250.7)
XYZxyz(14.8092, 15.3189, 43.7628)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70B1 #B16E2D
analogous
#2DB1B0 #2D70B1 #2D2EB1
triadic
#2D70B1 #B12D70 #70B12D
tetradic
#2D70B1 #B02DB1 #B16E2D #2EB12D
square
#2D70B1 #B02DB1 #B16E2D #2EB12D
split-complementary
#2D70B1 #B12D2E #B1B02D
monochromatic
#14324F #215180 #2D70B1 #4A8FD1 #7BADDD

Accessibility & contrast

On white

5.17
#2D70B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2D70B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70B1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70B1#FFFFFF#000000##FFFFFF
##2D70B11.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#3E68B0
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d70b1;
/* rgb */ color: rgb(45, 112, 177);
/* oklch */ color: oklch(53.5% 0.122 250.7);
Tailwind
colors: {
  custom: {
    50: '#7898c8',
    500: '#2d70b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d70b1;
$custom-light: #7898c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70b1",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 177
  },
  "hsl": {
    "h": 209.545,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.1224,
    "h": 250.7
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#2D70B1
secondary
#C69C74
accent
#9345E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D70B1

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

Preview Lab → · Contrast checker → · Palette generator →

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