#1D7798#1D7798

#1D7798 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.4% C 0.095 H 228.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1D7798
RGBrgb(29, 119, 152)
HSLhsl(196, 68%, 35%)
HSVhsv(196, 81%, 60%)
CMYKcmyk(80.9%, 21.7%, 0%, 40.4%)
CIE-LABlab(46.61, -13.77, -25.12)
CIE-LCHlch(46.61, 28.64, 241.26°)
OKLaboklab(53.38% -0.0634 -0.0706)
OKLCHoklch(53.38% 0.095 228.1)
XYZxyz(12.7687, 15.7203, 32.0610)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7798 #983E1D
analogous
#1D987C #1D7798 #1D3998
triadic
#1D7798 #981D77 #77981D
tetradic
#1D7798 #7C1D98 #983E1D #39981D
square
#1D7798 #7C1D98 #983E1D #39981D
split-complementary
#1D7798 #981D39 #987C1D
monochromatic
#092731 #134F65 #1D7798 #279FCB #52B8DE

Accessibility & contrast

On white

5.07
#1D7798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1D7798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7798
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7798#FFFFFF#000000##FFFFFF
##1D77981.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d7798;
/* rgb */ color: rgb(29, 119, 152);
/* oklch */ color: oklch(53.4% 0.095 228.1);
Tailwind
colors: {
  custom: {
    50: '#6e9eb6',
    500: '#1d7798',
    950: '#000000',
  },
}
SCSS
$custom: #1d7798;
$custom-light: #6e9eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7798",
  "rgb": {
    "r": 29,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 196.098,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.09489,
    "h": 228.1
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

primary
#1D7798
secondary
#C16E50
accent
#6C3DEB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1D7798

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

Preview Lab → · Contrast checker → · Palette generator →

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