#2D7899#2D7899

#2D7899 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.089 H 230.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2D7899
RGBrgb(45, 120, 153)
HSLhsl(198, 55%, 39%)
HSVhsv(198, 71%, 60%)
CMYKcmyk(70.6%, 21.6%, 0%, 40%)
CIE-LABlab(47.35, -11.89, -24.52)
CIE-LCHlch(47.35, 27.25, 244.12°)
OKLaboklab(54.1% -0.0563 -0.0688)
OKLCHoklch(54.1% 0.089 230.7)
XYZxyz(13.5461, 16.2892, 32.5610)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7899 #994E2D
analogous
#2D9984 #2D7899 #2D4299
triadic
#2D7899 #992D78 #78992D
tetradic
#2D7899 #842D99 #994E2D #42992D
square
#2D7899 #842D99 #994E2D #42992D
split-complementary
#2D7899 #992D42 #99842D
monochromatic
#112E3A #1F536A #2D7899 #3D9CC6 #6CB4D4

Accessibility & contrast

On white

4.93
#2D7899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2D7899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7899
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7899#FFFFFF#000000##FFFFFF
##2D78991.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#586C99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7899;
/* rgb */ color: rgb(45, 120, 153);
/* oklch */ color: oklch(54.1% 0.089 230.7);
Tailwind
colors: {
  custom: {
    50: '#749fb7',
    500: '#2d7899',
    950: '#000000',
  },
}
SCSS
$custom: #2d7899;
$custom-light: #749fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7899",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 198.333,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.08887,
    "h": 230.7
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

primary
#2D7899
secondary
#BB8167
accent
#774ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7899

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

Preview Lab → · Contrast checker → · Palette generator →

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