#1D7EA8#1D7EA8

#1D7EA8 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.106 H 232.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#1D7EA8
RGBrgb(29, 126, 168)
HSLhsl(198, 71%, 39%)
HSVhsv(198, 83%, 66%)
CMYKcmyk(82.7%, 25%, 0%, 34.1%)
CIE-LABlab(49.51, -11.96, -29.97)
CIE-LCHlch(49.51, 32.26, 248.25°)
OKLaboklab(55.93% -0.0642 -0.0845)
OKLCHoklch(55.93% 0.106 232.8)
XYZxyz(15.0326, 18.0082, 39.7218)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7EA8 #A8471D
analogous
#1DA88C #1D7EA8 #1D39A8
triadic
#1D7EA8 #A81D7E #7EA81D
tetradic
#1D7EA8 #8C1DA8 #A8471D #39A81D
square
#1D7EA8 #8C1DA8 #A8471D #39A81D
split-complementary
#1D7EA8 #A81D39 #A88C1D
monochromatic
#0B3040 #145774 #1D7EA8 #28A4DA #5CBAE3

Accessibility & contrast

On white

4.56
#1D7EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#1D7EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D7EA8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7EA8#FFFFFF#000000##000000
##1D7EA81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1d7ea8;
/* rgb */ color: rgb(29, 126, 168);
/* oklch */ color: oklch(55.9% 0.106 232.8);
Tailwind
colors: {
  custom: {
    50: '#72a3c2',
    500: '#1d7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #1d7ea8;
$custom-light: #72a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7ea8",
  "rgb": {
    "r": 29,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 198.129,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.10616,
    "h": 232.8
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#1D7EA8
secondary
#C77B5A
accent
#713AED
background
#F7FAFB
surface
#EDF3F7
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1D7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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