#2D708B#2D708B

#2D708B is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.4% C 0.079 H 228.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2D708B
RGBrgb(45, 112, 139)
HSLhsl(197, 51%, 36%)
HSVhsv(197, 68%, 55%)
CMYKcmyk(67.6%, 19.4%, 0%, 45.5%)
CIE-LABlab(44.25, -12.13, -21.02)
CIE-LCHlch(44.25, 24.27, 240.01°)
OKLaboklab(51.43% -0.053 -0.0588)
OKLCHoklch(51.43% 0.079 228)
XYZxyz(11.5347, 14.0091, 26.5172)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D708B #8B482D
analogous
#2D8B77 #2D708B #2D418B
triadic
#2D708B #8B2D70 #708B2D
tetradic
#2D708B #772D8B #8B482D #418B2D
square
#2D708B #772D8B #8B482D #418B2D
split-complementary
#2D708B #8B2D41 #8B772D
monochromatic
#0F252F #1E4B5D #2D708B #3C95B9 #65AFCD

Accessibility & contrast

On white

5.52
#2D708B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2D708B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D708B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D708B#FFFFFF#000000##FFFFFF
##2D708B1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#55648B
Tritanopia (blue-blind)
#007879
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d708b;
/* rgb */ color: rgb(45, 112, 139);
/* oklch */ color: oklch(51.4% 0.079 228.0);
Tailwind
colors: {
  custom: {
    50: '#7199ad',
    500: '#2d708b',
    950: '#000000',
  },
}
SCSS
$custom: #2d708b;
$custom-light: #7199ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d708b",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 139
  },
  "hsl": {
    "h": 197.234,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.07917,
    "h": 228
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#2D708B
secondary
#B47860
accent
#764DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2D708B

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

Preview Lab → · Contrast checker → · Palette generator →

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