#1F7B9D#1F7B9D

#1F7B9D is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.7% C 0.097 H 228.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F7B9D
RGBrgb(31, 123, 157)
HSLhsl(196, 67%, 37%)
HSVhsv(196, 80%, 62%)
CMYKcmyk(80.3%, 21.7%, 0%, 38.4%)
CIE-LABlab(48.12, -14.03, -25.70)
CIE-LCHlch(48.12, 29.28, 241.38°)
OKLaboklab(54.68% -0.0646 -0.0722)
OKLCHoklch(54.68% 0.097 228.2)
XYZxyz(13.7313, 16.8899, 34.4281)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B9D #9D411F
analogous
#1F9D80 #1F7B9D #1F3C9D
triadic
#1F7B9D #9D1F7B #7B9D1F
tetradic
#1F7B9D #801F9D #9D411F #3C9D1F
square
#1F7B9D #801F9D #9D411F #3C9D1F
split-complementary
#1F7B9D #9D1F3C #9D801F
monochromatic
#0B2B37 #15536A #1F7B9D #29A3D0 #58BADE

Accessibility & contrast

On white

4.80
#1F7B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1F7B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B9D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B9D#FFFFFF#000000##FFFFFF
##1F7B9D1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69799F
Deuteranopia (green-blind)
#586D9D
Tritanopia (blue-blind)
#008586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7b9d;
/* rgb */ color: rgb(31, 123, 157);
/* oklch */ color: oklch(54.7% 0.097 228.2);
Tailwind
colors: {
  custom: {
    50: '#70a1ba',
    500: '#1f7b9d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b9d;
$custom-light: #70a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b9d",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 157
  },
  "hsl": {
    "h": 196.19,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.09694,
    "h": 228.2
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#1F7B9D
secondary
#C27356
accent
#6C3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #1F7B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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