#2D7B97#2D7B97

#2D7B97 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.8% C 0.086 H 225.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D7B97
RGBrgb(45, 123, 151)
HSLhsl(196, 54%, 38%)
HSVhsv(196, 70%, 59%)
CMYKcmyk(70.2%, 18.5%, 0%, 40.8%)
CIE-LABlab(48.21, -14.28, -22.02)
CIE-LCHlch(48.21, 26.25, 237.05°)
OKLaboklab(54.76% -0.0602 -0.0616)
OKLCHoklch(54.76% 0.086 225.6)
XYZxyz(13.7488, 16.9566, 31.8205)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B97 #97492D
analogous
#2D977E #2D7B97 #2D4697
triadic
#2D7B97 #972D7B #7B972D
tetradic
#2D7B97 #7E2D97 #97492D #46972D
square
#2D7B97 #7E2D97 #97492D #46972D
split-complementary
#2D7B97 #972D46 #977E2D
monochromatic
#112E39 #1F5568 #2D7B97 #3CA1C5 #6BB8D3

Accessibility & contrast

On white

4.78
#2D7B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2D7B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B97
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B97#FFFFFF#000000##FFFFFF
##2D7B971.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7898
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d7b97;
/* rgb */ color: rgb(45, 123, 151);
/* oklch */ color: oklch(54.8% 0.086 225.6);
Tailwind
colors: {
  custom: {
    50: '#74a1b5',
    500: '#2d7b97',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b97;
$custom-light: #74a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b97",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 195.849,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54758,
    "c": 0.08617,
    "h": 225.6
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#2D7B97
secondary
#BA7C66
accent
#714ADD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2D7B97

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

Preview Lab → · Contrast checker → · Palette generator →

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