#2D7DA8#2D7DA8

#2D7DA8 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.1% C 0.101 H 236.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D7DA8
RGBrgb(45, 125, 168)
HSLhsl(201, 58%, 42%)
HSVhsv(201, 73%, 66%)
CMYKcmyk(73.2%, 25.6%, 0%, 34.1%)
CIE-LABlab(49.56, -9.52, -29.86)
CIE-LCHlch(49.56, 31.34, 252.32°)
OKLaboklab(56.08% -0.056 -0.0841)
OKLCHoklch(56.08% 0.101 236.3)
XYZxyz(15.4809, 18.0505, 39.7064)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DA8 #A8582D
analogous
#2DA896 #2D7DA8 #2D40A8
triadic
#2D7DA8 #A82D7D #7DA82D
tetradic
#2D7DA8 #962DA8 #A8582D #40A82D
square
#2D7DA8 #962DA8 #A8582D #40A82D
split-complementary
#2D7DA8 #A82D40 #A8962D
monochromatic
#133547 #205978 #2D7DA8 #459ECD #75B7DA

Accessibility & contrast

On white

4.55
#2D7DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2D7DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7DA8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DA8#FFFFFF#000000##000000
##2D7DA81.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#687CAA
Deuteranopia (green-blind)
#5871A7
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7da8;
/* rgb */ color: rgb(45, 125, 168);
/* oklch */ color: oklch(56.1% 0.101 236.3);
Tailwind
colors: {
  custom: {
    50: '#76a2c2',
    500: '#2d7da8',
    950: '#000000',
  },
}
SCSS
$custom: #2d7da8;
$custom-light: #76a2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7da8",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 200.976,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.10106,
    "h": 236.3
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#2D7DA8
secondary
#C28C6F
accent
#7D47E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2D7DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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