#2D70B7#2D70B7

#2D70B7 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.130 H 252.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D70B7
RGBrgb(45, 112, 183)
HSLhsl(211, 61%, 45%)
HSVhsv(211, 75%, 72%)
CMYKcmyk(75.4%, 38.8%, 0%, 28.2%)
CIE-LABlab(46.40, 3.75, -43.55)
CIE-LCHlch(46.40, 43.71, 274.92°)
OKLaboklab(53.83% -0.039 -0.1242)
OKLCHoklch(53.83% 0.13 252.6)
XYZxyz(15.4204, 15.5634, 46.9819)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70B7 #B7742D
analogous
#2DB5B7 #2D70B7 #2F2DB7
triadic
#2D70B7 #B72D70 #70B72D
tetradic
#2D70B7 #B72DB5 #B7742D #2DB72F
square
#2D70B7 #B72DB5 #B7742D #2DB72F
split-complementary
#2D70B7 #B72F2D #B5B72D
monochromatic
#153455 #215286 #2D70B7 #4E8FD3 #7FAEDF

Accessibility & contrast

On white

5.11
#2D70B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2D70B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70B7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70B7#FFFFFF#000000##FFFFFF
##2D70B71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#3968B6
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d70b7;
/* rgb */ color: rgb(45, 112, 183);
/* oklch */ color: oklch(53.8% 0.130 252.6);
Tailwind
colors: {
  custom: {
    50: '#7998cd',
    500: '#2d70b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d70b7;
$custom-light: #7998cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70b7",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 210.87,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.13018,
    "h": 252.6
  },
  "luminance": 0.15565
}

Semantic roles & 50–950 ramp

primary
#2D70B7
secondary
#C8A178
accent
#9644E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D70B7

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

Preview Lab → · Contrast checker → · Palette generator →

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