#1F7D9B#1F7D9B

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

Color values

HEX#1F7D9B
RGBrgb(31, 125, 155)
HSLhsl(195, 67%, 36%)
HSVhsv(195, 80%, 61%)
CMYKcmyk(80%, 19.4%, 0%, 39.2%)
CIE-LABlab(48.66, -15.85, -23.69)
CIE-LCHlch(48.66, 28.50, 236.21°)
OKLaboklab(55.08% -0.0674 -0.0664)
OKLCHoklch(55.08% 0.095 224.6)
XYZxyz(13.8126, 17.3234, 33.6198)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D9B #9B3D1F
analogous
#1F9B7B #1F7D9B #1F3F9B
triadic
#1F7D9B #9B1F7D #7D9B1F
tetradic
#1F7D9B #7B1F9B #9B3D1F #3F9B1F
square
#1F7D9B #7B1F9B #9B3D1F #3F9B1F
split-complementary
#1F7D9B #9B1F3F #9B7B1F
monochromatic
#0B2B35 #155468 #1F7D9B #29A6CE #57BDDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7D9B#FFFFFF#000000##FFFFFF
##1F7D9B1.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)
#6C7A9D
Deuteranopia (green-blind)
#5C6E9B
Tritanopia (blue-blind)
#008687
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7d9b;
/* rgb */ color: rgb(31, 125, 155);
/* oklch */ color: oklch(55.1% 0.095 224.6);
Tailwind
colors: {
  custom: {
    50: '#70a2b8',
    500: '#1f7d9b',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d9b;
$custom-light: #70a2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d9b",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 155
  },
  "hsl": {
    "h": 194.516,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55085,
    "c": 0.09463,
    "h": 224.6
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#1F7D9B
secondary
#C16F55
accent
#683EEA
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F7D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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