#1F7D9C#1F7D9C

#1F7D9C is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.1% C 0.095 H 225.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F7D9C
RGBrgb(31, 125, 156)
HSLhsl(195, 67%, 37%)
HSVhsv(195, 80%, 61%)
CMYKcmyk(80.1%, 19.9%, 0%, 38.8%)
CIE-LABlab(48.71, -15.50, -24.21)
CIE-LCHlch(48.71, 28.75, 237.37°)
OKLaboklab(55.13% -0.067 -0.0679)
OKLCHoklch(55.13% 0.095 225.4)
XYZxyz(13.8969, 17.3571, 34.0639)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D9C #9C3E1F
analogous
#1F9C7D #1F7D9C #1F3F9C
triadic
#1F7D9C #9C1F7D #7D9C1F
tetradic
#1F7D9C #7D1F9C #9C3E1F #3F9C1F
square
#1F7D9C #7D1F9C #9C3E1F #3F9C1F
split-complementary
#1F7D9C #9C1F3F #9C7D1F
monochromatic
#0B2B36 #155469 #1F7D9C #29A6CF #58BCDE

Accessibility & contrast

On white

4.70
#1F7D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F7D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D9C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D9C#FFFFFF#000000##FFFFFF
##1F7D9C1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7A9E
Deuteranopia (green-blind)
#5B6F9C
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7d9c;
/* rgb */ color: rgb(31, 125, 156);
/* oklch */ color: oklch(55.1% 0.095 225.4);
Tailwind
colors: {
  custom: {
    50: '#70a2b9',
    500: '#1f7d9c',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d9c;
$custom-light: #70a2b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d9c",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 156
  },
  "hsl": {
    "h": 194.88,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55133,
    "c": 0.09541,
    "h": 225.4
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#1F7D9C
secondary
#C17055
accent
#693EEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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