#1D7FA8#1D7FA8

#1D7FA8 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.106 H 231.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1D7FA8
RGBrgb(29, 127, 168)
HSLhsl(198, 71%, 39%)
HSVhsv(198, 83%, 66%)
CMYKcmyk(82.7%, 24.4%, 0%, 34.1%)
CIE-LABlab(49.82, -12.53, -29.48)
CIE-LCHlch(49.82, 32.03, 246.98°)
OKLaboklab(56.18% -0.0651 -0.0831)
OKLCHoklch(56.18% 0.106 231.9)
XYZxyz(15.1611, 18.2652, 39.7647)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7FA8 #A8461D
analogous
#1DA88B #1D7FA8 #1D39A8
triadic
#1D7FA8 #A81D7F #7FA81D
tetradic
#1D7FA8 #8B1DA8 #A8461D #39A81D
square
#1D7FA8 #8B1DA8 #A8461D #39A81D
split-complementary
#1D7FA8 #A81D39 #A88B1D
monochromatic
#0B3040 #145874 #1D7FA8 #28A6DA #5CBBE3

Accessibility & contrast

On white

4.51
#1D7FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#1D7FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D7FA8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7FA8#FFFFFF#000000##000000
##1D7FA81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7EAA
Deuteranopia (green-blind)
#5871A7
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1d7fa8;
/* rgb */ color: rgb(29, 127, 168);
/* oklch */ color: oklch(56.2% 0.106 231.9);
Tailwind
colors: {
  custom: {
    50: '#72a4c2',
    500: '#1d7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #1d7fa8;
$custom-light: #72a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7fa8",
  "rgb": {
    "r": 29,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 197.698,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.10562,
    "h": 231.9
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#1D7FA8
secondary
#C77A5A
accent
#6F3AED
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1D7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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