#2D7898#2D7898

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

Color values

HEX#2D7898
RGBrgb(45, 120, 152)
HSLhsl(198, 54%, 39%)
HSVhsv(198, 70%, 60%)
CMYKcmyk(70.4%, 21.1%, 0%, 40.4%)
CIE-LABlab(47.31, -12.24, -24.00)
CIE-LCHlch(47.31, 26.94, 242.97°)
OKLaboklab(54.06% -0.0567 -0.0673)
OKLCHoklch(54.06% 0.088 229.9)
XYZxyz(13.4639, 16.2563, 32.1279)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7898 #984D2D
analogous
#2D9882 #2D7898 #2D4298
triadic
#2D7898 #982D78 #78982D
tetradic
#2D7898 #822D98 #984D2D #42982D
square
#2D7898 #822D98 #984D2D #42982D
split-complementary
#2D7898 #982D42 #98822D
monochromatic
#112D3A #1F5369 #2D7898 #3D9DC5 #6CB5D3

Accessibility & contrast

On white

4.94
#2D7898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2D7898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7898
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7898#FFFFFF#000000##FFFFFF
##2D78981.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68769A
Deuteranopia (green-blind)
#596C98
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7898;
/* rgb */ color: rgb(45, 120, 152);
/* oklch */ color: oklch(54.1% 0.088 229.9);
Tailwind
colors: {
  custom: {
    50: '#749fb6',
    500: '#2d7898',
    950: '#000000',
  },
}
SCSS
$custom: #2d7898;
$custom-light: #749fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7898",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 197.944,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.08795,
    "h": 229.9
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#2D7898
secondary
#BA7F66
accent
#764ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7898

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

Preview Lab → · Contrast checker → · Palette generator →

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