#2D7B9D#2D7B9D

#2D7B9D is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.0% C 0.091 H 230.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2D7B9D
RGBrgb(45, 123, 157)
HSLhsl(198, 55%, 40%)
HSVhsv(198, 71%, 62%)
CMYKcmyk(71.3%, 21.7%, 0%, 38.4%)
CIE-LABlab(48.46, -12.22, -25.15)
CIE-LCHlch(48.46, 27.96, 244.09°)
OKLaboklab(55.04% -0.0579 -0.0706)
OKLCHoklch(55.04% 0.091 230.6)
XYZxyz(14.2485, 17.1565, 34.4524)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B9D #9D4F2D
analogous
#2D9D87 #2D7B9D #2D439D
triadic
#2D7B9D #9D2D7B #7B9D2D
tetradic
#2D7B9D #872D9D #9D4F2D #439D2D
square
#2D7B9D #872D9D #9D4F2D #439D2D
split-complementary
#2D7B9D #9D2D43 #9D872D
monochromatic
#12303E #1F566D #2D7B9D #3F9EC8 #6FB6D6

Accessibility & contrast

On white

4.74
#2D7B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2D7B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B9D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B9D#FFFFFF#000000##FFFFFF
##2D7B9D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A799F
Deuteranopia (green-blind)
#5A6E9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d7b9d;
/* rgb */ color: rgb(45, 123, 157);
/* oklch */ color: oklch(55.0% 0.091 230.6);
Tailwind
colors: {
  custom: {
    50: '#75a1ba',
    500: '#2d7b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b9d;
$custom-light: #75a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b9d",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 157
  },
  "hsl": {
    "h": 198.214,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.09131,
    "h": 230.6
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#2D7B9D
secondary
#BD8269
accent
#7649DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2D7B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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