#2D70A7#2D70A7

#2D70A7 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.9% C 0.110 H 246.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2D70A7
RGBrgb(45, 112, 167)
HSLhsl(207, 58%, 42%)
HSVhsv(207, 73%, 65%)
CMYKcmyk(73.1%, 32.9%, 0%, 34.5%)
CIE-LABlab(45.54, -2.17, -35.56)
CIE-LCHlch(45.54, 35.63, 266.50°)
OKLaboklab(52.89% -0.0433 -0.1008)
OKLCHoklch(52.89% 0.11 246.8)
XYZxyz(13.8488, 14.9347, 38.7045)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70A7 #A7642D
analogous
#2DA7A1 #2D70A7 #2D33A7
triadic
#2D70A7 #A72D70 #70A72D
tetradic
#2D70A7 #A12DA7 #A7642D #33A72D
square
#2D70A7 #A12DA7 #A7642D #33A72D
split-complementary
#2D70A7 #A72D33 #A7A12D
monochromatic
#132F47 #205077 #2D70A7 #448FCD #75ACDA

Accessibility & contrast

On white

5.27
#2D70A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2D70A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70A7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70A7#FFFFFF#000000##FFFFFF
##2D70A71.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772A9
Deuteranopia (green-blind)
#4667A6
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d70a7;
/* rgb */ color: rgb(45, 112, 167);
/* oklch */ color: oklch(52.9% 0.110 246.8);
Tailwind
colors: {
  custom: {
    50: '#7698c1',
    500: '#2d70a7',
    950: '#000000',
  },
}
SCSS
$custom: #2d70a7;
$custom-light: #7698c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70a7",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 167
  },
  "hsl": {
    "h": 207.049,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.10975,
    "h": 246.8
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#2D70A7
secondary
#C1946E
accent
#8C47E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2D70A7

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

Preview Lab → · Contrast checker → · Palette generator →

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