#2D70A6#2D70A6

#2D70A6 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.109 H 246.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2D70A6
RGBrgb(45, 112, 166)
HSLhsl(207, 57%, 41%)
HSVhsv(207, 73%, 65%)
CMYKcmyk(72.9%, 32.5%, 0%, 34.9%)
CIE-LABlab(45.49, -2.54, -35.06)
CIE-LCHlch(45.49, 35.15, 265.85°)
OKLaboklab(52.83% -0.0436 -0.0994)
OKLCHoklch(52.83% 0.109 246.3)
XYZxyz(13.7567, 14.8979, 38.2196)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D70A6 #A6632D
analogous
#2DA6A0 #2D70A6 #2D34A6
triadic
#2D70A6 #A62D70 #70A62D
tetradic
#2D70A6 #A02DA6 #A6632D #34A62D
square
#2D70A6 #A02DA6 #A6632D #34A62D
split-complementary
#2D70A6 #A62D34 #A6A02D
monochromatic
#132F46 #205076 #2D70A6 #448FCC #74ACD9

Accessibility & contrast

On white

5.28
#2D70A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2D70A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D70A6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D70A6#FFFFFF#000000##FFFFFF
##2D70A61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772A8
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d70a6;
/* rgb */ color: rgb(45, 112, 166);
/* oklch */ color: oklch(52.8% 0.109 246.3);
Tailwind
colors: {
  custom: {
    50: '#7698c0',
    500: '#2d70a6',
    950: '#000000',
  },
}
SCSS
$custom: #2d70a6;
$custom-light: #7698c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d70a6",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 166
  },
  "hsl": {
    "h": 206.777,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5283,
    "c": 0.10852,
    "h": 246.3
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D70A6

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

Preview Lab → · Contrast checker → · Palette generator →

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