#1F7D9D#1F7D9D

#1F7D9D is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.2% C 0.096 H 226.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F7D9D
RGBrgb(31, 125, 157)
HSLhsl(195, 67%, 37%)
HSVhsv(195, 80%, 62%)
CMYKcmyk(80.3%, 20.4%, 0%, 38.4%)
CIE-LABlab(48.75, -15.15, -24.73)
CIE-LCHlch(48.75, 29.00, 238.51°)
OKLaboklab(55.18% -0.0666 -0.0694)
OKLCHoklch(55.18% 0.096 226.2)
XYZxyz(13.9820, 17.3911, 34.5117)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D9D #9D3F1F
analogous
#1F9D7E #1F7D9D #1F3E9D
triadic
#1F7D9D #9D1F7D #7D9D1F
tetradic
#1F7D9D #7E1F9D #9D3F1F #3E9D1F
square
#1F7D9D #7E1F9D #9D3F1F #3E9D1F
split-complementary
#1F7D9D #9D1F3E #9D7E1F
monochromatic
#0B2C37 #15546A #1F7D9D #29A6D0 #58BCDE

Accessibility & contrast

On white

4.69
#1F7D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1F7D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D9D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D9D#FFFFFF#000000##FFFFFF
##1F7D9D1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7A9F
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7d9d;
/* rgb */ color: rgb(31, 125, 157);
/* oklch */ color: oklch(55.2% 0.096 226.2);
Tailwind
colors: {
  custom: {
    50: '#70a2ba',
    500: '#1f7d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d9d;
$custom-light: #70a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d9d",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 157
  },
  "hsl": {
    "h": 195.238,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.09621,
    "h": 226.2
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#1F7D9D
secondary
#C27156
accent
#6A3EEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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