#2D7F9D#2D7F9D

#2D7F9D is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.0% C 0.090 H 226.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2D7F9D
RGBrgb(45, 127, 157)
HSLhsl(196, 55%, 40%)
HSVhsv(196, 71%, 62%)
CMYKcmyk(71.3%, 19.1%, 0%, 38.4%)
CIE-LABlab(49.70, -14.47, -23.23)
CIE-LCHlch(49.70, 27.37, 238.08°)
OKLaboklab(56.04% -0.0621 -0.065)
OKLCHoklch(56.04% 0.09 226.3)
XYZxyz(14.7549, 18.1693, 34.6212)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F9D #9D4B2D
analogous
#2D9D83 #2D7F9D #2D479D
triadic
#2D7F9D #9D2D7F #7F9D2D
tetradic
#2D7F9D #832D9D #9D4B2D #479D2D
square
#2D7F9D #832D9D #9D4B2D #479D2D
split-complementary
#2D7F9D #9D2D47 #9D832D
monochromatic
#12323E #1F596D #2D7F9D #3FA3C8 #6FBAD6

Accessibility & contrast

On white

4.53
#2D7F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2D7F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7F9D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F9D#FFFFFF#000000##000000
##2D7F9D1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7D9F
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7f9d;
/* rgb */ color: rgb(45, 127, 157);
/* oklch */ color: oklch(56.0% 0.090 226.3);
Tailwind
colors: {
  custom: {
    50: '#75a4ba',
    500: '#2d7f9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f9d;
$custom-light: #75a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f9d",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 196.071,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.08995,
    "h": 226.3
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#2D7F9D
secondary
#BD7F69
accent
#7149DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2D7F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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