#1D7998#1D7998

#1D7998 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.094 H 226.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#1D7998
RGBrgb(29, 121, 152)
HSLhsl(195, 68%, 35%)
HSVhsv(195, 81%, 60%)
CMYKcmyk(80.9%, 20.4%, 0%, 40.4%)
CIE-LABlab(47.24, -14.90, -24.14)
CIE-LCHlch(47.24, 28.37, 238.31°)
OKLaboklab(53.89% -0.0654 -0.0678)
OKLCHoklch(53.89% 0.094 226)
XYZxyz(13.0092, 16.2013, 32.1412)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7998 #983C1D
analogous
#1D9879 #1D7998 #1D3B98
triadic
#1D7998 #981D79 #79981D
tetradic
#1D7998 #791D98 #983C1D #3B981D
square
#1D7998 #791D98 #983C1D #3B981D
split-complementary
#1D7998 #981D3B #98791D
monochromatic
#092731 #135065 #1D7998 #27A2CB #52BBDE

Accessibility & contrast

On white

4.95
#1D7998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#1D7998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D7998#FFFFFF#000000##FFFFFF
##1D79981.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779A
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1d7998;
/* rgb */ color: rgb(29, 121, 152);
/* oklch */ color: oklch(53.9% 0.094 226.0);
Tailwind
colors: {
  custom: {
    50: '#6f9fb6',
    500: '#1d7998',
    950: '#000000',
  },
}
SCSS
$custom: #1d7998;
$custom-light: #6f9fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7998",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 195.122,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.09417,
    "h": 226
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#1D7998
secondary
#C16C50
accent
#693DEB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1D7998

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

Preview Lab → · Contrast checker → · Palette generator →

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