#2D7998#2D7998

#2D7998 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.088 H 228.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D7998
RGBrgb(45, 121, 152)
HSLhsl(197, 54%, 39%)
HSVhsv(197, 70%, 60%)
CMYKcmyk(70.4%, 20.4%, 0%, 40.4%)
CIE-LABlab(47.62, -12.81, -23.51)
CIE-LCHlch(47.62, 26.77, 241.42°)
OKLaboklab(54.31% -0.0577 -0.0659)
OKLCHoklch(54.31% 0.088 228.8)
XYZxyz(13.5848, 16.4981, 32.1682)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7998 #984C2D
analogous
#2D9881 #2D7998 #2D4398
triadic
#2D7998 #982D79 #79982D
tetradic
#2D7998 #812D98 #984C2D #43982D
square
#2D7998 #812D98 #984C2D #43982D
split-complementary
#2D7998 #982D43 #98812D
monochromatic
#112E3A #1F5369 #2D7998 #3D9EC5 #6CB5D3

Accessibility & contrast

On white

4.88
#2D7998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2D7998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7998
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7998#FFFFFF#000000##FFFFFF
##2D79981.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69779A
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d7998;
/* rgb */ color: rgb(45, 121, 152);
/* oklch */ color: oklch(54.3% 0.088 228.8);
Tailwind
colors: {
  custom: {
    50: '#749fb6',
    500: '#2d7998',
    950: '#000000',
  },
}
SCSS
$custom: #2d7998;
$custom-light: #749fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7998",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 197.383,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.0876,
    "h": 228.8
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7998

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

Preview Lab → · Contrast checker → · Palette generator →

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